<< Click to Display Table of Contents >> NShape Reference
|
Translates and rotates the draw cache in a way to place the shape correctly on the drawing surface.
protected abstract void TransformDrawCache(int deltaX, int deltaY, int deltaAngle, int rotationCenterX, int rotationCenterY) |
After the draw cache has been recalculated it must be transformed to put the shape in the correct position and the right angle before it can be drawn.
Name |
Description |
---|---|
deltaX |
Horizontal displacement |
deltaY |
Vertical displacement |
deltaAngle |
Rotation angle |
rotationCenterX |
X coordinate of rotation center |
rotationCenterY |
Y coordinate of rotation center |