C# Class PixelFarm.Agg.RectInt

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство Type Description
Left int

Méthodes publiques

Méthode 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 méthode

public Clip ( RectInt r ) : bool
r RectInt
Résultat bool

ClipRect() public static méthode

public static ClipRect ( RectInt pBoundingRect, RectInt &pDestRect ) : bool
pBoundingRect RectInt
pDestRect RectInt
Résultat bool

ClipRects() public static méthode

public static ClipRects ( RectInt pBoundingRect, RectInt &pSourceRect, RectInt &pDestRect ) : bool
pBoundingRect RectInt
pSourceRect RectInt
pDestRect RectInt
Résultat bool

DoIntersect() public static méthode

public static DoIntersect ( RectInt rect1, RectInt rect2 ) : bool
rect1 RectInt
rect2 RectInt
Résultat bool

ExpandToInclude() public méthode

public ExpandToInclude ( RectInt rectToInclude ) : void
rectToInclude RectInt
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Inflate() public méthode

public Inflate ( int inflateSize ) : void
inflateSize int
Résultat void

IntersectRectangles() public méthode

public IntersectRectangles ( RectInt rectToCopy, RectInt rectToIntersectWith ) : bool
rectToCopy RectInt
rectToIntersectWith RectInt
Résultat bool

IntersectWithRectangle() public méthode

public IntersectWithRectangle ( RectInt rectToIntersectWith ) : bool
rectToIntersectWith RectInt
Résultat bool

Normalize() public méthode

public Normalize ( ) : void
Résultat void

Offset() public méthode

public Offset ( int x, int y ) : void
x int
y int
Résultat void

RectInt() public méthode

public RectInt ( int left, int bottom, int right, int top ) : System
left int
bottom int
right int
top int
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

hit_test() public méthode

public hit_test ( int x, int y ) : bool
x int
y int
Résultat bool

is_valid() public méthode

public is_valid ( ) : bool
Résultat bool

unite_rectangles() public méthode

public unite_rectangles ( RectInt r1, RectInt r2 ) : void
r1 RectInt
r2 RectInt
Résultat void

Property Details

Left public_oe property

public int Left
Résultat int