PenCacheGdiBorrowPen(PenX, RectangleD2D, Double) Method |
Borrows a brush for temporary use. Please embed the returned
PenCacheGdiGdiPen in a using statement, so that it is properly returned to the cache.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public PenCacheGdiGdiPen BorrowPen(
PenX pen,
RectangleD2D boundingRectangle,
double effectiveMaximumResolutionDpi
)
Parameters
- pen PenX
- The PenX that is used as template for the PenCacheGdiGdiPen to return.
- boundingRectangle RectangleD2D
- The bounding rectangle of the brush.
- effectiveMaximumResolutionDpi Double
- The maximum effective resolution of the graphics.
Return Value
PenCacheGdiGdiPenA
PenCacheGdiGdiPen object for temporary use.
See Also