SOURCE: qdev_macros.txt 1.16 (12/09/2014) English INDEP - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_BYTESPERROW() - Computes the size of one row of
standard Amiga bitmap.
SYNOPSIS
rowsize = QDEV_HLP_BYTESPERROW(w);
[ULONG] QDEV_HLP_BYTESPERROW([UWORD]);
FUNCTION
This macro allows to compute size of row a single plane
would take in order to construct standard Amiga bitmap.
INPUTS
w - Width(in pixels) of the projected/existing bitmap.
RETURNS
Returns size of a single row in bytes. This value is 16
aligned always.
BASES
None.
NOTES
There is a QDEV_HLP_BYTESPERROW64() incarnation of this
macro. Please do not use it on regular bitmaps!
SEE ALSO
QDEV_HLP_RASSIZE()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
|