This documentation is for the old version. Go to the latest Graphics Mill docs

PathControlPoint.Draw Method

Draws a control point.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)

Syntax

Visual Basic
Public Overrides Sub Draw ( _
	g As Graphics, _
	coordinateMapper As ICoordinateMapper _
)
C#
public override void Draw(
	Graphics g,
	ICoordinateMapper coordinateMapper
)

Parameters

g

Type: System.Drawing.Graphics

Target System.Drawing.Graphics object on which the control point should be drawn.
coordinateMapper

Type: Aurigma.GraphicsMill.WinControls.ICoordinateMapper

An object that provides methods for mapping workspace coordinates to control ones.

Remarks

As the control point does not know anything about control scroll bars position and its zoom, it simply uses the specifed coordinateMapper to transform its own (workspace) coordinates to control coordinates.

See Also

Reference