Picture.setKeepAspectRatio

If set to %TRUE, the @self will render its contents according to their aspect ratio.

That means that empty space may show up at the top/bottom or left/right of @self.

If set to %FALSE or if the contents provide no aspect ratio, the contents will be stretched over the picture's whole area.

class Picture
void
setKeepAspectRatio

Parameters

keepAspectRatio bool

whether to keep aspect ratio

Meta