Method
GlyFrameRequestset_scale
since: 2.0
Declaration [src]
void
gly_frame_request_set_scale (
GlyFrameRequest* frame_request,
uint32_t width,
uint32_t height
)
Description [src]
Set maximum dimensions for the frame. The texture will be scaled to be within the maximum dimensions while keeping its aspect ratio. This option is especially useful to SVGs which will be rendered at the respective size.
Warning
Most loaders will ignore this option. Currently, only the SVG loader is known to obay it.
Available since: 2.0