IPolyClassDrawFilled(Graphics, Color, MatrixD, Int32, Int32) Method

Fills the Polygon on the given Graphics by using the current World-Client transformation of the IPCBIWindow. (Not very performant when used for multiple polygons. Use static IPolyClass.DrawFilled() instead)

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public bool DrawFilled(
	Graphics g,
	Color color,
	MatrixD polyMatrix,
	int ClientWidth,
	int ClientHeight
)

Parameters

g  Graphics
Graphics
color  Color
Fill Color
polyMatrix  MatrixD
Matrix for transforming the polygon during drawing
ClientWidth  Int32
Width of the Drawing window in PCBI
ClientHeight  Int32
Height of the Drawing window in PCBI

Return Value

Boolean

See Also