Click or drag to resize

PenCacheGdiGdiPenCreateGdiPen Method

Creates a Gdi+ Pen from a independent PenX, a bounding rectangle, and the effective resolution of the drawing.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Pen CreateGdiPen(
	PenX p,
	RectangleD2D boundingRectangle,
	double maximumEffectiveResolutionDpi
)

Parameters

p  PenX
The system independend pen object..
boundingRectangle  RectangleD2D
The bounding rectangle.
maximumEffectiveResolutionDpi  Double
The maximum effective resolution of the drawing in dpi.

Return Value

Pen
The corresponding Pen object. This value must be disposed if no longer in use.
See Also