Example #1
0
void NodeBrush::Transform(TransformBase& Trans)
{
    // The groups bounding rect is no longer valid
    InvalidateBoundingRect();

    // Transform all the children
    // See GroupCanTransformCached()
    NodeGroup::Transform(Trans);

}
Example #2
0
void NodeSimpleShape::Transform( TransformBase& Trans )
{
	// Transform the Shape
	Trans.Transform((DocCoord*)Parallel, 4);

	// re-create the path and update its bounding rectangle
	UpdateShape();

	// Mark the bounding rect as invalid
	InvalidateBoundingRect();

	// Transform all the children...
	TransformChildren(Trans);
}