ShopToolsUtilGetDisplayCoordinate Method

Return the scaled representation of the caller's drawing space coordinate for use on the current display canvas.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static Point GetDisplayCoordinate(
	FPoint offset,
	Rectangle workspaceArea,
	float scale
)

Parameters

offset  FPoint
Reference to the drawing space offset to convert.
workspaceArea  Rectangle
The physical workspace onto which the drawing is being projected.
scale  Single
The current scale.

Return Value

Point
The coordinate on the target canvas cooresponding to the caller's offset.

See Also