void pscale(
const Pvec *scale_vector /* scale vector */ Pint *error_ind /* (out) error indicator */ Pmatrix result /* (out) transformation matrix */
)
typedef struct {
Pfloat delta_x; /* delta x */ Pfloat delta_y; /* delta y */
} Pvec;
typedef Pfloat Pmatrix[3][3];
Returns a homogeneous 3 x 3 matrix to be used for the 2D scaling defined by scale_vector.
The returned matrix can be used as the transformation matrix for the SET LOCAL TRANSFORMATION MATRIX, SET GLOBAL TRANSFORMATION MATRIX and similar functions.
set global transformation, set local transformation, translate, rotate, compose matrix, build transformation matrix, compose transformation matrix