Copyrects - Planar DX/PCI User Manual

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

88 | CopyRects

CopyRects

Purpose Use
of rectangles.
Syntax
DError (*CopyRects) (dev, rop, planeMask, r, nRects)
Return value
D_OK
Description
CopyRects()
DMdCopyRect,
rectangles, and copies each source rectangle to the destination,
applying the specified rasterop and plane mask while
doing so.
Even when the source and destination rectangles in each pair
overlap, the copying will work correctly. The order in which
pairs are copied matches the order of the rectangle pairs in
the array.
Currently the only rasterop supported is copy;
Also,
screen. For future compatibility, set
planeMask
Errors
DMD_ERROR_BAD_DEVICE -
rectangle copy.
to make a screen-to-screen copy of an array
CopyRects
Parameter Type
DMdDev
DLong
DLong
DMdCopyRect
DLong
if successful; otherwise, an error code.
takes an array of
containing pairs of source and destination
planeMask
to ~0 (all ones [1s]).
Name
Description
Device handle of the DOME
dev
device
Raster operation to apply
rop
(currently copy)
Plane mask to apply
planeMask
(currently all ones [1s])
Array of rectangles to copy
*r
Number of rectangles to
nRects
copy
nRects
is ignored and all planes are written to the
Device failed to complete the
structures of
is ignored.
rop
to GXcopy (or 3), and
rop

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents