cf_canvas_get_size¶
Category: graphics
GitHub: cute_graphics.h
Fetches the canvas's dimensions in pixels.
| Parameters | Description |
|---|---|
canvas |
The canvas. |
w |
Receives the width; can be NULL. |
h |
Receives the height; can be NULL. |
Remarks¶
For a canvas attached to a mip level (attach_mip) this is the mip's size.