Method ConvertDipsToPixels
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
ConvertDipsToPixels(double)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
public double ConvertDipsToPixels(double dips)
Parameters
dips
double
Returns
ConvertDipsToPixels(double, double)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
public SizeDouble ConvertDipsToPixels(double widthDips, double heightDips)
Parameters
Returns
ConvertDipsToPixels(SizeDouble)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
public SizeDouble ConvertDipsToPixels(SizeDouble sizeDips)
Parameters
sizeDips
SizeDouble
Returns
ConvertDipsToPixels(float)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
public float ConvertDipsToPixels(float dips)
Parameters
dips
float
Returns
ConvertDipsToPixels(float, float)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
public SizeFloat ConvertDipsToPixels(float widthDips, float heightDips)
Parameters
Returns
ConvertDipsToPixels(SizeFloat)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
public SizeFloat ConvertDipsToPixels(SizeFloat sizeDips)
Parameters
sizeDips
SizeFloat