MCPcopy Create free account
hub / github.com/TankOs/SFGUI / SetDestinationOrigin

Method SetDestinationOrigin

src/SFGUI/RendererViewport.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void RendererViewport::SetDestinationOrigin( const sf::Vector2f& origin ) {
28 m_destination_origin = origin;
29
30 Renderer::Get().Invalidate( sfg::Renderer::INVALIDATE_ALL );
31}
32
33const sf::Vector2f& RendererViewport::GetDestinationOrigin() const {
34 return m_destination_origin;

Calls 1

InvalidateMethod · 0.45

Tested by

no test coverage detected