ShopToolsUtilDrawOperation Method

Draw the specified operation to the provided graphics context.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static FPoint DrawOperation(
	PatternOperationItem operation,
	WorkpieceInfoItem workpiece,
	FPoint startingLocation,
	string previousToolName,
	Graphics g,
	Rectangle workspaceArea,
	float scale,
	bool selected = false
)

Parameters

operation  PatternOperationItem
The operation for which user values have been provided.
workpiece  WorkpieceInfoItem
Reference to information about the workpiece.
startingLocation  FPoint
Reference to the starting location from which the operation will begin, in system units
previousToolName  String
Name of the previous tool.
g  Graphics
Reference to the current graphics device.
workspaceArea  Rectangle
Target workspace on the current canvas.
scale  Single
Precalculated scale of drawing space to canvas space.
selected  Boolean  (Optional)
Optional value indicating whether the operation is selected.

Return Value

FPoint
Reference to the location at which the current operation will end, in system units.

See Also