MCPcopy Create free account
hub / github.com/axmolengine/axmol / getWinSizeInPixels

Method getWinSizeInPixels

core/base/Director.cpp:768–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768Vec2 Director::getWinSizeInPixels() const
769{
770 return Vec2(_winSizeInPoints.width * _contentScaleFactor, _winSizeInPoints.height * _contentScaleFactor);
771}
772
773Vec2 Director::getVisibleSize() const
774{

Callers 11

onBeginMethod · 0.80
beginMethod · 0.80
startWithTargetMethod · 0.80
initWithSizeMethod · 0.80
set2DProjectionMethod · 0.80
beforeDrawMethod · 0.80
initMethod · 0.80
RenderTextureIssue937Method · 0.80
RenderTexturePartTestMethod · 0.80

Calls 1

Vec2Class · 0.70

Tested by 3

initMethod · 0.64
RenderTextureIssue937Method · 0.64
RenderTexturePartTestMethod · 0.64