yucad3d

CadViewScale

Sets the window's view scale.

void CadViewScale ( YuHandle hDwg, void* hWin, double Scale, std::int32_t Xcen, std::int32_t Ycen );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).
Scale (double)
Scale factor.
Xcen (std::int32_t)
X coordinate of the rectangle / region centre.
Ycen (std::int32_t)
Y coordinate of the rectangle / region centre.

Return Value

None.

See Also