Class DpiScale
- Namespace
- SharpVectors.Runtime
- Assembly
- SharpVectors.Runtime.Wpf.dll
[Serializable]
public class DpiScale : IEquatable<DpiScale>, ICloneable
- Inheritance
-
DpiScale
- Implements
- Inherited Members
Constructors
- DpiScale()
Initializes a new instance of the DpiScale class.
- DpiScale(double)
Initializes a new instance of the DpiScale class.
- DpiScale(double, double)
Initializes a new instance of the DpiScale class.
Properties
- PixelsPerDip
Get or sets the PixelsPerDip at which the text should be rendered.
- PixelsPerInchX
Gets the PPI along X axis.
- PixelsPerInchY
Gets the PPI along Y axis.
Methods
- Equals(DpiScale)
Equality test against a DpiScale object.
- Equals(object)
Equality test
- GetHashCode()
Returns the hash code of the current object
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(DpiScale, DpiScale)
Checks for equality between two DpiScale instances.
- operator !=(DpiScale, DpiScale)
Checks to inequality between two DpiScale instances.