|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| Windows 95: 16-bit coordinates only
|
|
|
InvertRgn
The
InvertRgn function inverts the colors in the specified region.
BOOL InvertRgn(
HDC hdc,
| // handle of device context
|
HRGN hrgn
| // handle of region to be inverted
|
);
|
|
Parameters
hdc
Identifies the device context.
hrgn
Identifies the region for which colors are inverted. The region's coordinates
are presumed to be logical coordinates.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
On monochrome screens, the
InvertRgn function makes white pixels black and black pixels white. On color screens,
this inversion is dependent on the type of technology used to generate the
colors for the screen.
See Also
FillRgn,
PaintRgn
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database