Art
DRect
ToIrect
Art.DRect.ToIrect Method
Converts the src rectangle into a interger one.
Syntax
public static
void
ToIrect
(
IRect
dst,
DRect
src)
Parameters
dst
The newly created integer rectangle (
Art.IRect
).
src
The source rectangle (
Art.DRect
).
Remarks
The rouding is done using floor for x0 and y0 and ceil for x1 and y1.
Requirements
Namespace:
Art
Assembly:
art-sharp (in art-sharp.dll)