Limbo
|
if your rectangle class setting is different from that in the default point_traits, please create a specialization More...
Public Types | |
typedef Rectangle | rectangle_type |
rectangle type | |
typedef int | coordinate_type |
coordinate type | |
Static Public Member Functions | |
static coordinate_type | get (const rectangle_type &rect, direction_2d dir) |
access coordinates More... | |
static void | set (rectangle_type &rect, direction_2d dir, coordinate_type value) |
set coordinates More... | |
static rectangle_type | construct (coordinate_type xl, coordinate_type yl, coordinate_type xh, coordinate_type yh) |
construct rectangle More... | |
if your rectangle class setting is different from that in the default point_traits, please create a specialization
Definition at line 172 of file test_p2r.cpp.
|
inlinestatic |
construct rectangle
xl,yl,xh,yh | coordinates of rectangle |
Definition at line 218 of file test_p2r.cpp.
|
inlinestatic |
access coordinates
rect | a rectangle object |
dir | can be LEFT (xl), BOTTOM (yl), RIGHT (xh) or TOP (yh) |
Definition at line 185 of file test_p2r.cpp.
|
inlinestatic |
set coordinates
rect | a rectangle object |
dir | can be LEFT (xl), BOTTOM (yl), RIGHT (xh) or TOP (yh) |
value | coordinate value |
Definition at line 202 of file test_p2r.cpp.