ImageGear Professional DLL v18.1 for Windows
IG_dspl_ROP_get
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_ROP_get

Glossary Item Box

This function gets the ROP (raster-operation) code used to display images on Windows platforms.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_dspl_ROP_get(
        HIGEAR hIGear,
        DWORD dwGrpID,
        LPDWORD lpdwROP
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.
dwGrpID DWORD Identifier of display group from which to get ROP code.
lpdwROP LPDWORD Returned ROP code.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

None

Example:

  Copy Code
HIGEAR       hIGear;      /* HIGEAR handle of image */
DWORD        nGrpID;      /* display group identifier */
DWORD        dwROP;       /* retrieved ROP code */
 ...
/* get ROP code */ 
IG_dspl_ROP_get( hIGear, nGrpID, &dwROP ); 
 ...

Remarks:

This code determines how the source image pixels are combined with the destination area pixels. The default ROP is SRCCOPY, which overwrites the destination area with the source image. Other codes are described in the documentation for the Windows GDI function BitBlt.

©2014. Accusoft Corporation. All Rights Reserved.