Settings passed to Platform::init(). More...
#include <Platform.h>
Public Attributes | |
| int | canvasWidth |
| Design canvas width in pixels (eg. | |
| int | canvasHeight |
| Design canvas height in pixels (eg. | |
| float | assetScaleX = 1.0f |
| Horizontal ratio of source art pixels to design-canvas pixels. | |
| float | assetScaleY = 1.0f |
| Vertical counterpart of assetScaleX. | |
| float PlatformConfig::assetScaleX = 1.0f |
Horizontal ratio of source art pixels to design-canvas pixels.
GuiImageData divides a decoded PNG's width by this to get its design size. 1.0 means the art is authored at canvas resolution.
Definition at line 56 of file Platform.h.
| float PlatformConfig::assetScaleY = 1.0f |
| int PlatformConfig::canvasHeight |
Design canvas height in pixels (eg.
480)
Definition at line 52 of file Platform.h.
| int PlatformConfig::canvasWidth |