Click or drag to resize

VectorCartesicPlotStylePaintSymbol Method

Paints a appropriate symbol in the given rectangle. The width of the rectangle is mandatory, but if the heigth is too small, you should extend the bounding rectangle and set it as return value of this function.

Namespace: Altaxo.Graph.Gdi.Plot.Styles
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public RectangleF PaintSymbol(
	Graphics g,
	RectangleF bounds
)

Parameters

g  Graphics
The graphics context.
bounds  RectangleF
The bounds, in which the symbol should be painted.

Return Value

RectangleF
If the height of the bounding rectangle is sufficient for painting, returns the original bounding rectangle. Otherwise, it returns a rectangle that is inflated in y-Direction. Do not inflate the rectangle in x-direction!

Implements

IG2DPlotStylePaintSymbol(Graphics, RectangleF)
See Also