ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_scale |
This function scales the entity according to the specified scale factors.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_ent_scale( HIG_VECT_ENTITY hEntity, VECT_REAL fX, VECT_REAL fY, VECT_REAL fZ, VECT_BOOL bBefore ); |
Name | Type | Description |
hEntity | HIG_VECT_ENTITY | Handle of the entity to be scaled. |
fX | VECT_REAL | Scale factor in X direction. |
fY | VECT_REAL | Scale factor in Y direction. |
fZ | VECT_REAL | Scale factor in Z direction. |
bBefore | VECT_BOOL | Specifies how the scale matrix is multiplied by the entity matrix. TRUE means right multiplication; FALSE means left multiplication. |
This function does not process image pixels.
Vector
This function creates a scale matrix using fX, fY, and fZ scale factors and multiplies it by the correct entity matrix according to the bBefore flag.