void Draw(TreeNode* subtree, const Matrix2F& matrix = Matrix2F(), const Cxform& cform = Cxform(), BlendMode blendMode = Blend_None, const Rect<SInt32>* clipRect = 0); void Draw(Image* source, const Matrix2F& matrix = Matrix2F(), const Cxform& cform = Cxform(), BlendMode blendMode = Blend_None, const Rect<SInt32>* clipRect = 0, bool smoothing = false);
Draws the render tree.
Parameters |
Description |
TreeNode* subtree |
_nt_ |
const Matrix2F& matrix = Matrix2F() |
A Matrix object used to scale, rotate, or translate the coordinates of the bitmap |
const Cxform& cform = Cxform() |
The color transform applied. |
BlendMode blendMode = Blend_None |
The blend mode to be applied |
const Rect<SInt32>* clipRect = 0 |
A rectangle that defines the area of the source image to draw. If you do not supply this value, no clipping occurs and the entire source image is drawn. |
Image* source |
The input source drawable image to draw. |
bool smoothing = false |
A Boolean value that determines whether a drawable image is smoothed when scaled or rotated, due to a scaling or rotation in the matrix parameter. The smoothing parameter only applies if the source parameter is a BitmapData object. With smoothing set to false, the rotated or scaled BitmapData image can appear pixelated or jagged. |