This class is used to set format of a metafile picture.
class MetaPicture { public: int MappingMode; Dimensions Extent; Handle Metafile; };
MappingMode | The unit mapping mode used to render the picture. |
Extent | The size of the metafile picture for all modes except the
Unit::Isotropic and
Unit::Anisotropic. The y-coordinate specifies the height of the rectangle
within which the picture is drawn.
The coordinates are in units that correspond to the mapping mode.
For modes Unit::Isotropic and Unit::Anisotropic (which are scalable), this member contains the suggested size in units Unit::HighMetric. For pictures using Unit::Anisotropic, the width and height can be zero (when no suggested size is being given). For pictures using Unit::Isotropic, an aspect ratio must be supplied even when no suggested size is given. If positive coordinates are given, they specify a suggested size and the aspect ratio. An aspect ratio may be specified without implying a suggested size by using negative values for the coordinates. In this case only the ratio of the values is used. |
Metafile | The handle of a memory-based metafile. |