Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
768
Vec2 Director::getWinSizeInPixels() const
769
{
770
return Vec2(_winSizeInPoints.width * _contentScaleFactor, _winSizeInPoints.height * _contentScaleFactor);
771
}
772
773
Vec2 Director::getVisibleSize() const
774
{
Callers
11
onBegin
Method · 0.80
begin
Method · 0.80
startWithTarget
Method · 0.80
initWithSize
Method · 0.80
set2DProjection
Method · 0.80
beforeDraw
Method · 0.80
commandResolutionSubCommandEmpty
Method · 0.80
init
Method · 0.80
RenderTextureIssue937
Method · 0.80
RenderTexturePartTest
Method · 0.80
updateTargetAndDuration
Method · 0.80
Calls
1
Vec2
Class · 0.70
Tested by
3
init
Method · 0.64
RenderTextureIssue937
Method · 0.64
RenderTexturePartTest
Method · 0.64