Table of Contents

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

double

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

widthDips double
heightDips double

Returns

SizeDouble

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

SizeDouble

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

float

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

widthDips float
heightDips float

Returns

SizeFloat

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

Returns

SizeFloat