IDragAndDropObjectDragDropDraw Method

Draw the drag and drop object, it is also possible to use default method instead of implementing your own dragin method.

Definition

Namespace: PCBI.Automation.DragAndDrop
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
void DragDropDraw(
	Graphics g,
	IPCBIWindow parent,
	PointD moveOffsetWorld,
	double deltaRotation,
	double scaling,
	bool MirrorX,
	bool MirrorY,
	Color defaultColor,
	int clientWidth,
	int clientHeight,
	out bool useDefault
)

Parameters

g  Graphics
Graphics to draw on it.
parent  IPCBIWindow
IPCBIWindow to get additional infromation in drawing.
moveOffsetWorld  PointD
Relevant offset in world coordinates.
deltaRotation  Double
Relecant delta rotaion value.
scaling  Double
Relevant scaling value.
MirrorX  Boolean
Relevant mirror X value.
MirrorY  Boolean
Relevant mirror Y value.
defaultColor  Color
Color to draw the polygon.
clientWidth  Int32
Client area width.
clientHeight  Int32
Client area height.
useDefault  Boolean
Use default drawing mode instead of this method (or additionally).

See Also