Defines an enumeration that specifies flags that are passed to the flags parameter of the TRSGPBitmap.LockBits method. The TRSGPBitmap.LockBits method locks a portion of an image so that you can read or write the pixel data.
Namespace: RSGdiPlusGraphicsTypes
Delphi
|
type
TRSGPImageLockFlag = (
ilfRead,
ilfWrite,
ilfUserInputBuf
);
|
|
Name
|
Description
|
|
ilfRead
|
Specifies that a portion of the image is locked for reading.
|
|
ilfUserInputBuf
|
Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, then the lockedBitmapData parameter of the TRSGPBitmap.LockBits method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the lockedBitmapData parameter serves only as an output parameter.
|
|
ilfWrite
|
Specifies that a portion of the image is locked for writing.
|
Top
|