Struct MetafilePoint
A point in metafile device units.
public readonly struct MetafilePoint : IEquatable<MetafilePoint>
- Implements
- Inherited Members
Remarks
Device units, not twips. A metafile records drawing against a reference device of its own and states that device's physical size in its header; converting to page coordinates needs the target rectangle as well, which this layer does not know. Keeping the display list in device units is what lets the parser live in a package that knows nothing about layout.
Constructors
- MetafilePoint(int, int)
Initializes a point.
Properties
- X
Gets the horizontal coordinate in device units.
- Y
Gets the vertical coordinate in device units.
Methods
Operators
- operator ==(MetafilePoint, MetafilePoint)
Compares two points for equality.
- operator !=(MetafilePoint, MetafilePoint)
Compares two points for inequality.