MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getVisualSize

Method getVisualSize

Source/Basic/Application.cpp:631–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631Size Application::getVisualSize() const noexcept {
632 return Size{s_cast<float>(_visualWidth), s_cast<float>(_visualHeight)};
633}
634
635float Application::getDevicePixelRatio() const noexcept {
636 return s_cast<float>(_bufferWidth) / _visualWidth;

Callers 11

handleEventMethod · 0.80
AlignNodeMethod · 0.80
ApplyTransformMethod · 0.80
markNVGDirtyMethod · 0.80
updateMethod · 0.80
DrawMethod · 0.80
showStatsMethod · 0.80
beginMethod · 0.80
handleEventMethod · 0.80
DORA_TEST_ENTRYFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected