EMF_EMRRECTANGLE3
Emf rectangle.
Usage
Inherits EMF::METARECORD,
and
EMRELLIPSE.
Public Member Functions
EMRRECTANGLE (DATASTREAM
&ds)
bool serialize
(DATASTREAM
ds)
int size
(void)
const
void execute
(METAFILEDEVICECONTEXT
*source,
HDC
dc)
const
Public Member
Functions
inherited
from
EMF::METARECORD
virtual
~METARECORD
()
Detailed Description
EMF Rectangle.
Draw a rectangle.
Constructor & Destructor Documentation
EMF::EMRRECTANGLE::EMRRECTANGLE (INT left, INT top, INT right, INT bottom) [inline]
Parameters
left x position of left side of rectangle.
top y position of top side of rectangle.
right x position of right edge of rectangle.
bottom y position of bottom edge of rectangle.
EMF::EMRRECTANGLE::EMRRECTANGLE (DATASTREAM & ds) [inline]
Construct a Rectangle record from the input stream.
Parameters
ds Metafile datastream.
Member Function Documentation
void EMF::EMRRECTANGLE::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [virtual]
Execute this record in the context of the given device context.
Parameters
source the device context from which this record is taken.
dc device context for execute.
Implements EMF::METARECORD.
bool EMF::EMRRECTANGLE::serialize (DATASTREAM ds) [inline], [virtual]
Parameters
ds Metafile datastream.
Implements EMF::METARECORD.
int EMF::EMRRECTANGLE::size (void) const [inline], [virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)