IDragAndDropObjectDragDropDraw Method
Draw the drag and drop object, it is also possible to use default method instead of implementing your own dragin method.
Namespace: PCBI.Automation.DragAndDropAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
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
)
Sub DragDropDraw (
g As Graphics,
parent As IPCBIWindow,
moveOffsetWorld As PointD,
deltaRotation As Double,
scaling As Double,
MirrorX As Boolean,
MirrorY As Boolean,
defaultColor As Color,
clientWidth As Integer,
clientHeight As Integer,
<OutAttribute> ByRef useDefault As Boolean
)
void DragDropDraw(
Graphics^ g,
IPCBIWindow^ parent,
PointD moveOffsetWorld,
double deltaRotation,
double scaling,
bool MirrorX,
bool MirrorY,
Color defaultColor,
int clientWidth,
int clientHeight,
[OutAttribute] bool% useDefault
)
abstract DragDropDraw :
g : Graphics *
parent : IPCBIWindow *
moveOffsetWorld : PointD *
deltaRotation : float *
scaling : float *
MirrorX : bool *
MirrorY : bool *
defaultColor : Color *
clientWidth : int *
clientHeight : int *
useDefault : bool byref -> unit
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).