 |
WinBitmapSize |
Function (ROM Call 0x8) |
Determines a size of a bitmap (eventually clipped) in bytes.
WinBitmapSize returns the size in bytes of a bitmap for a part of rectangular area given by
parameter rect which belongs to the window pointed to by w (may be smaller than
the size of this area due to clipping). This size includes the data for the bitmap and the
header. All coordinates in rect are relative to the topleft corner of the window.
See WinBitmapGet for more info about bitmaps.
Note: WinBitmapSize will clip any negative coordinates to zero.
Uses: WinToScr, BitmapSize, ScrRectOverlap
Used by: cmd_newpic, gr_stopic, GT_SaveAs
See also: WinBitmapSizeExt