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 bounds,
   RectangleF displayRect
);

Parameters

g
The Graphics context to use when rendering the node.
bounds
The full bounds of the node to be rendered.
displayRect
The imageable area.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace