| Q D E V _ H L P _ R A S S I Z E ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_RASSIZE() - Computes a single plane of Amiga
bitmap.
SYNOPSIS
planesize = QDEV_HLP_RASSIZE(w ,h);
[ULONG] QDEV_HLP_RASSIZE([UWORD], [UWORD]);
FUNCTION
This macro allows to compute raster size, which is to
say a single bitmap plane size.
INPUTS
w - Width(in pixels) of the projected/existing bitmap.
h - Height(in pixels) of the projected/existing bitmap.
RETURNS
Returns size of a single plane in bytes.
BASES
None.
NOTES
There is a QDEV_HLP_RASSIZE64() incarnation of this
macro. Please do not use it on regular bitmaps!
SEE ALSO
QDEV_HLP_BYTESPERROW()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |