MCPcopy Create free account
hub / github.com/cinder/Cinder / getContentScale

Method getContentScale

src/cinder/app/Window.cpp:120–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120float Window::getContentScale() const
121{
122 testValid();
123
124#if defined( CINDER_COCOA )
125 return [mImpl getContentScale];
126#elif defined( CINDER_MSW_DESKTOP )
127 return mImpl->getContentScale();
128#else
129 return 1.0f;
130#endif
131}
132
133void Window::close()
134{

Callers 3

setupMethod · 0.45
MonitorMethod · 0.45
getWindowContentScaleFunction · 0.45

Calls 1

testValidFunction · 0.85

Tested by 2

setupMethod · 0.36
MonitorMethod · 0.36