Method

Gsk.Transform.scale

Declaration [src]

GskTransform*
gsk_transform_scale (
  GskTransform* next,
  float factor_x,
  float factor_y
)

Description [src]

Scales next in 2-dimensional space by the given factors.

Use gsk_transform_scale_3d() to scale in all 3 dimensions.

Parameters

factor_x float
 

scaling factor on the X axis

factor_y float
 

scaling factor on the Y axis

Return value

Returns: GskTransform

The new transform

Ownership of the data is transferred to the caller