convert_to_pixels
Description:
Converts a coordinate from the canvas coordinate space to pixels.
The canvas coordinate space is specified in the call to set_bounds.
The pixel coordinate space specifies pixels from the top-left of the entire canvas window, according to the current scale setting. See set_scale.
Parameters:
| this |
a Canvas. |
| x |
a pointer to the x coordinate to convert. |
| y |
a pointer to the y coordinate to convert. |