Click or drag to resize

GraphicBasePathNodeGripHandleShow Method

Draws the grip in the graphics context.

Namespace: Altaxo.Graph.Gdi.Shapes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void Show(
	Graphics g,
	double pageScale
)

Parameters

g  Graphics
Graphics context.
pageScale  Double
Current zoom factor that can be used to calculate pen width etc. for displaying the handle. Attention: this factor must not be used to transform the path of the handle.

Implements

IGripManipulationHandleShow(Graphics, Double)
Remarks
To paint a handle that should appear with a line width of 2.5 pts on the screen, you should create a pen as follows:
C#
using(var pen = new Pen(Color.Blue, (float)(2.5/pageScale)))
{
    // do your painting here
}
See Also