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

Method getDevicePixelRatio

Source/Basic/Application.cpp:635–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

633}
634
635float Application::getDevicePixelRatio() const noexcept {
636 return s_cast<float>(_bufferWidth) / _visualWidth;
637}
638
639void Application::setThemeColor(Color var) {
640 _themeColor = var;

Callers 8

AlignNodeMethod · 0.80
ApplyTransformMethod · 0.80
markNVGDirtyMethod · 0.80
setImePositionHintMethod · 0.80
initMethod · 0.80
beginMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected