C# Class NewTOAPIA.Drawing.ClipLiangBarsky

显示文件 Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
clip_liang_barsky ( int x1, int y1, int x2, int y2, RectangleI clip_box, int x, int y ) : int
clip_line_segment ( int &x1, int &y1, int &x2, int &y2, RectangleI clip_box ) : int
clip_move_point ( int x1, int y1, int x2, int y2, RectangleI clip_box, int &x, int &y, int flags ) : bool
clipping_flags ( int x, int y, RectangleI clip_box ) : int
clipping_flags_x ( int x, RectangleI clip_box ) : int
clipping_flags_y ( int y, RectangleI clip_box ) : int

Method Details

clip_liang_barsky() public static method

public static clip_liang_barsky ( int x1, int y1, int x2, int y2, RectangleI clip_box, int x, int y ) : int
x1 int
y1 int
x2 int
y2 int
clip_box RectangleI
x int
y int
return int

clip_line_segment() public static method

public static clip_line_segment ( int &x1, int &y1, int &x2, int &y2, RectangleI clip_box ) : int
x1 int
y1 int
x2 int
y2 int
clip_box RectangleI
return int

clip_move_point() public static method

public static clip_move_point ( int x1, int y1, int x2, int y2, RectangleI clip_box, int &x, int &y, int flags ) : bool
x1 int
y1 int
x2 int
y2 int
clip_box RectangleI
x int
y int
flags int
return bool

clipping_flags() public static method

public static clipping_flags ( int x, int y, RectangleI clip_box ) : int
x int
y int
clip_box RectangleI
return int

clipping_flags_x() public static method

public static clipping_flags_x ( int x, RectangleI clip_box ) : int
x int
clip_box RectangleI
return int

clipping_flags_y() public static method

public static clipping_flags_y ( int y, RectangleI clip_box ) : int
y int
clip_box RectangleI
return int