#include <cliprect.h>
Public Methods | |
| CL_ClipRect () | |
| CL_ClipRect (const CL_ClipRect &rect) | |
| CL_ClipRect (int x1, int y1, int x2, int y2) | |
| bool | test_clipped (const CL_ClipRect &rect) const |
| param: (x1,y1) - Upper left corner of the rectangle.param: (x2,y2) - Lower right corner of the rectangle (not included). | |
| bool | test_unclipped (const CL_ClipRect &rect) const |
| param: rect - The rectangle to be tested.retval: True if the passed rectangle needs to be clipped. | |
| bool | test_all_clipped (const CL_ClipRect &rect) const |
| param: rect - The rectangle to be tested.retval: True if the passed rectangle is contained within this rectangle. | |
| CL_ClipRect | clip (const CL_ClipRect &rect) const |
| param: rect - The rectangle to be tested.retval: True if the entire specified rect is outside this rectangle. | |
| bool | operator== (const CL_ClipRect &rect) const |
| param: rect - The rectangle to be clipped.retval: The clipped rectangle. | |
Public Attributes | |
| int | m_x1 |
| int | m_y1 |
| int | m_x2 |
| int | m_y2 |
Definition at line 20 of file cliprect.h.
|
|
|
|
|
|
|
|
|
|
|
param: rect - The rectangle to be tested.retval: True if the entire specified rect is outside this rectangle.
Referenced by cl_fill_rect_opaque(), CL_DisplayCard_Generic::push_clip_rect(), and toluaI_CL_ClipRect_clip0(). |
|
|
param: rect - The rectangle to be clipped.retval: The clipped rectangle.
|
|
|
param: rect - The rectangle to be tested.retval: True if the passed rectangle is contained within this rectangle.
Referenced by cl_fill_rect_opaque(), and toluaI_CL_ClipRect_test_all_clipped0(). |
|
|
param: (x1,y1) - Upper left corner of the rectangle.param: (x2,y2) - Lower right corner of the rectangle (not included).
Referenced by toluaI_CL_ClipRect_test_clipped0(). |
|
|
param: rect - The rectangle to be tested.retval: True if the passed rectangle needs to be clipped.
Referenced by toluaI_CL_ClipRect_test_unclipped0(). |
|
|
Definition at line 33 of file cliprect.h. |
|
|
Definition at line 39 of file cliprect.h. |
|
|
Definition at line 36 of file cliprect.h. |
|
|
Definition at line 42 of file cliprect.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001