ShopToolsUtilDrawOperation Method
Draw the specified operation to the provided graphics context.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static FPoint DrawOperation(
PatternOperationItem operation,
WorkpieceInfoItem workpiece,
FPoint startingLocation,
string previousToolName,
Graphics g,
Rectangle workspaceArea,
float scale,
bool selected = false
)
Public Shared Function DrawOperation (
operation As PatternOperationItem,
workpiece As WorkpieceInfoItem,
startingLocation As FPoint,
previousToolName As String,
g As Graphics,
workspaceArea As Rectangle,
scale As Single,
Optional selected As Boolean = false
) As FPoint
No code example is currently available or this language may not be supported.
- 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.
FPoint
Reference to the location at which the current operation will end,
in system units.