IGripManipulationHandleShow Method |
Draws the grip in the graphics context.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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 (see remarks). Attention: this factor must not be used to transform the path of the handle.
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