ImageEn, unit iexBitmaps

TIEBitmap.GetSegment

TIEBitmap.GetSegment


Declaration


function GetSegment(Row: integer; Col: integer; Width: integer): pointer;


Description


Returns the pointer to a buffer containing a specified image segment.
For Location=ieFile or PixelFormat=ieVirtual you can only use the last line obtained from Scanline[] (consequently this is not thread safe).

Parameter Description
Row Row to retrieve (0 = first row).
Col Column to retrieve (0 = first column).
Width Number of pixels to retrieve.



See Also


- ScanLine
- GetRow
- FreeRow