Skip to main content

p6::CanvasSizeMode_RelativeToWindow

The canvas will have a size that is a multiple of the windows's framebuffer size.

Summary

Name
CanvasSizeMode_RelativeToWindow(float scale)
CanvasSizeMode_RelativeToWindow(float width_scale, float height_scale)
floatwidth_scale
floatheight_scale

Details

CanvasSizeMode_RelativeToWindow()

CanvasSizeMode_RelativeToWindow(float scale);

CanvasSizeMode_RelativeToWindow()

CanvasSizeMode_RelativeToWindow(float width_scale, float height_scale);

width_scale

float width_scale;

height_scale

float height_scale;

Updated on 2024 October 24