Returns information about a bitmap
Source position: agraphics.pas line 2134
function GetBitMapAttr( |
Bm: PBitMap; |
AttrNum: LongWord |
):LongWord; |
Determines information about a bitmap. This function should be used instead of reading the bitmap structure fields directly. This will provide future compatibility.
attribute_number = A number telling graphics which attribute of the bitmap should be returned:
Unknown attributes are reserved for future use, and return zero.
BMF_DISPLAYABLE will only be set if the source bitmap meets all of the required alignment restrictions. A bitmap which does not meet these restrictions may still be displayable at some loss of efficiency.
Size values returned by this function may not exactly match the values which were passed to AllocBitMap(), due to alignment restrictions.
|
Allocate a bitmap and attach bitplanes to it. |