Method ConvertDipsToPixelsInt
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
ConvertDipsToPixelsInt(int)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
The result is rounded to the nearest whole integer.
public int ConvertDipsToPixelsInt(int dips)
Parameters
dips
int
Returns
ConvertDipsToPixelsInt(int, int)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
The result is rounded to the nearest whole integer.
public SizeInt32 ConvertDipsToPixelsInt(int widthDips, int heightDips)
Parameters
Returns
ConvertDipsToPixelsInt(SizeInt32)
Converts a measurement from DIPs (device-independent pixels) to pixels using the current scaling factor.
The result is rounded to the nearest whole integer.
public SizeInt32 ConvertDipsToPixelsInt(SizeInt32 sizeDips)
Parameters
sizeDips
SizeInt32