Summary
Converts a
Rect
to device pixels using the specified scaling factor.
Syntax
public static PixelRect FromRect(Rect rect, double scale)
Parameters
Name | Type | Description |
---|---|---|
rect | Rect | The rect. |
scale | double | The scaling factor. |
Return Value
Type | Description |
---|---|
PixelRect | The device-independent rect. |