Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TankOs/SFGUI
/ SetView
Method
SetView
src/SFGUI/Canvas.cpp:412–418 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
410
}
411
412
void Canvas::SetView( const sf::View& view ) {
413
if( !m_render_texture ) {
414
return;
415
}
416
417
m_render_texture->setView( view );
418
}
419
420
sf::View Canvas::GetView() const {
421
if( !m_render_texture ) {
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected