Method

AppStreamComposeImagescale_to_fit

Declaration [src]

void
asc_image_scale_to_fit (
  AscImage* image,
  guint size
)

Description [src]

Scale the image to fir in a square with the given edge length, and keep its aspect ratio.

Parameters

size

Type: guint

The maximum edge length.