Click or drag to resize

BrushCacheGdiBorrowBrush(BrushX, RectangleD2D, Double) Method

Borrows a brush for temporary use. Please embed the returned BrushCacheGdiGdiBrush in a using statement, so that it is properly returned to the cache.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public BrushCacheGdiGdiBrush BorrowBrush(
	BrushX brush,
	RectangleD2D boundingRectangle,
	double effectiveMaximumResolutionDpi
)

Parameters

brush  BrushX
The BrushX.
boundingRectangle  RectangleD2D
The bounding rectangle of the brush.
effectiveMaximumResolutionDpi  Double
The maximum effective resolution of the graphics.

Return Value

BrushCacheGdiGdiBrush
A BrushCacheGdiGdiBrush object for temporary use.
See Also