ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_image_to_device_d |
This function translates an array of points in DOUBLE float-point format from the image coordinates into device coordinates.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_image_to_device_d( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [IN] HWND hWnd, [IN] HDC hDC, [IN/OUT] LPAT_DPOINT lpPoint, [IN] UINT nCount ); |
Name | Type | Description |
hIGear | HIGEAR | ImageGear handle of an image. |
dwGrpID | DWORD | Identifier of the group from which to get display options. |
hWnd | HWND | Handle of the window where the image is drawn. |
hDC | HDC | Handle of the device context used for drawing. Can be NULL, but if it is necessary to perform a calculation for the printer device context, then a real value should be provided. |
lpPoint | LPAT_DPOINT | Pointer to an array of points in DOUBLE float-point format that should be translated. |
nCount | UINT | Number of elements in the lpPoint array. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear Professional.
This function takes into account all display parameters, including orientation and current scrolling position.
See also the function IG_dspl_device_to_image_d(). |