EmfDataUtils

Inheritance: java.lang.Object

public class EmfDataUtils

Constructors

Constructor Description
EmfDataUtils()

Methods

Method Description
convertGraphicUnits(double target, double Dpi, int from, int to)
convertPixelsToMillimeters(double pixels, double resolution)
convertPixelsToTenMicrometers(double pixels, double devicePixels, double deviceMicromiters)
equals(Object arg0)
fromPixel(double target, double Dpi, int unit)
getBoundRect(WmfPointL[] points)
getBoundRect(WmfPointS[] points)
getClass()
hashCode()
notify()
notifyAll()
pointFToPoint(System.Drawing.PointF[] points)
pointFToWmfPointL(System.Drawing.PointF[] points)
pointToWmfPointL(System.Drawing.Point[] points)
pointToWmfPointS(System.Drawing.Point[] points)
toPixel(double target, double Dpi, int unit)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

EmfDataUtils()

public EmfDataUtils()

convertGraphicUnits(double target, double Dpi, int from, int to)

public static double convertGraphicUnits(double target, double Dpi, int from, int to)

Parameters:

Parameter Type Description
target double
Dpi double
from int
to int

Returns: double

convertPixelsToMillimeters(double pixels, double resolution)

public static int convertPixelsToMillimeters(double pixels, double resolution)

Parameters:

Parameter Type Description
pixels double
resolution double

Returns: int

convertPixelsToTenMicrometers(double pixels, double devicePixels, double deviceMicromiters)

public static int convertPixelsToTenMicrometers(double pixels, double devicePixels, double deviceMicromiters)

Parameters:

Parameter Type Description
pixels double
devicePixels double
deviceMicromiters double

Returns: int

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

fromPixel(double target, double Dpi, int unit)

public static double fromPixel(double target, double Dpi, int unit)

Parameters:

Parameter Type Description
target double
Dpi double
unit int

Returns: double

getBoundRect(WmfPointL[] points)

public static WmfRectL getBoundRect(WmfPointL[] points)

Parameters:

Parameter Type Description
points WmfPointL[]

Returns: WmfRectL

getBoundRect(WmfPointS[] points)

public static WmfRectL getBoundRect(WmfPointS[] points)

Parameters:

Parameter Type Description
points WmfPointS[]

Returns: WmfRectL

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

pointFToPoint(System.Drawing.PointF[] points)

public static System.Drawing.Point[] pointFToPoint(System.Drawing.PointF[] points)

Parameters:

Parameter Type Description
points com.aspose.ms.System.Drawing.PointF[]

Returns: com.aspose.ms.System.Drawing.Point[]

pointFToWmfPointL(System.Drawing.PointF[] points)

public static WmfPointL[] pointFToWmfPointL(System.Drawing.PointF[] points)

Parameters:

Parameter Type Description
points com.aspose.ms.System.Drawing.PointF[]

Returns: com.aspose.barcode.drawing.emf.objects.WmfPointL[]

pointToWmfPointL(System.Drawing.Point[] points)

public static WmfPointL[] pointToWmfPointL(System.Drawing.Point[] points)

Parameters:

Parameter Type Description
points com.aspose.ms.System.Drawing.Point[]

Returns: com.aspose.barcode.drawing.emf.objects.WmfPointL[]

pointToWmfPointS(System.Drawing.Point[] points)

public static WmfPointS[] pointToWmfPointS(System.Drawing.Point[] points)

Parameters:

Parameter Type Description
points com.aspose.ms.System.Drawing.Point[]

Returns: com.aspose.barcode.drawing.emf.objects.WmfPointS[]

toPixel(double target, double Dpi, int unit)

public static double toPixel(double target, double Dpi, int unit)

Parameters:

Parameter Type Description
target double
Dpi double
unit int

Returns: double

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int