Piccolo.NET

PNode.ScaleAndDraw Method 

Scale the Graphics so that this node's full bounds fit in displayRect and then render into the given Graphics context.

protected virtual void ScaleAndDraw(
   Graphics g,
   RectangleF displayRect
);

Parameters

g
The Graphics context to use when rendering the node.
displayRect
The imageable area.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace