PenCacheGdiBorrowPen(PenX, RectangleD2D, Graphics, 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,
Graphics g,
double objectScale
)
Parameters
- pen PenX
- The PenX.
- boundingRectangle RectangleD2D
- The bounding rectangle of the brush.
- g Graphics
- The Gdi graphics context (is used to determine the graphics resolution).
- objectScale Double
- The scale of the object (used for scaling the graphics resolution). If in doubt, use 1.
Return Value
PenCacheGdiGdiPenA
PenCacheGdiGdiPen object for temporary use.
See Also