GraphicBasePathNodeGripHandleShow Method |
Draws the grip in the graphics context.
Namespace: Altaxo.Graph.Gdi.ShapesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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:
using(var pen = new Pen(Color.Blue, (float)(2.5/pageScale)))
{
}
See Also