C# Class PixelFarm.Agg.RectInt

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
Left int

Public Methods

Method Description
Clip ( RectInt r ) : bool
ClipRect ( RectInt pBoundingRect, RectInt &pDestRect ) : bool
ClipRects ( RectInt pBoundingRect, RectInt &pSourceRect, RectInt &pDestRect ) : bool
DoIntersect ( RectInt rect1, RectInt rect2 ) : bool
ExpandToInclude ( RectInt rectToInclude ) : void
GetHashCode ( ) : int
Inflate ( int inflateSize ) : void
IntersectRectangles ( RectInt rectToCopy, RectInt rectToIntersectWith ) : bool
IntersectWithRectangle ( RectInt rectToIntersectWith ) : bool
Normalize ( ) : void
Offset ( int x, int y ) : void
RectInt ( int left, int bottom, int right, int top ) : System
ToString ( ) : string
hit_test ( int x, int y ) : bool
is_valid ( ) : bool
unite_rectangles ( RectInt r1, RectInt r2 ) : void

Method Details

Clip() public method

public Clip ( RectInt r ) : bool
r RectInt
return bool

ClipRect() public static method

public static ClipRect ( RectInt pBoundingRect, RectInt &pDestRect ) : bool
pBoundingRect RectInt
pDestRect RectInt
return bool

ClipRects() public static method

public static ClipRects ( RectInt pBoundingRect, RectInt &pSourceRect, RectInt &pDestRect ) : bool
pBoundingRect RectInt
pSourceRect RectInt
pDestRect RectInt
return bool

DoIntersect() public static method

public static DoIntersect ( RectInt rect1, RectInt rect2 ) : bool
rect1 RectInt
rect2 RectInt
return bool

ExpandToInclude() public method

public ExpandToInclude ( RectInt rectToInclude ) : void
rectToInclude RectInt
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

Inflate() public method

public Inflate ( int inflateSize ) : void
inflateSize int
return void

IntersectRectangles() public method

public IntersectRectangles ( RectInt rectToCopy, RectInt rectToIntersectWith ) : bool
rectToCopy RectInt
rectToIntersectWith RectInt
return bool

IntersectWithRectangle() public method

public IntersectWithRectangle ( RectInt rectToIntersectWith ) : bool
rectToIntersectWith RectInt
return bool

Normalize() public method

public Normalize ( ) : void
return void

Offset() public method

public Offset ( int x, int y ) : void
x int
y int
return void

RectInt() public method

public RectInt ( int left, int bottom, int right, int top ) : System
left int
bottom int
right int
top int
return System

ToString() public method

public ToString ( ) : string
return string

hit_test() public method

public hit_test ( int x, int y ) : bool
x int
y int
return bool

is_valid() public method

public is_valid ( ) : bool
return bool

unite_rectangles() public method

public unite_rectangles ( RectInt r1, RectInt r2 ) : void
r1 RectInt
r2 RectInt
return void

Property Details

Left public property

public int Left
return int