FreeRDP
|
Data Structures | |
struct | REGION16 |
FREERDP_API BOOL rectangle_is_empty | ( | const RECTANGLE_16 * | rect | ) |
returns if the rectangle is empty
rect | the rectangle to check |
FREERDP_API BOOL rectangles_equal | ( | const RECTANGLE_16 * | r1, |
const RECTANGLE_16 * | r2 | ||
) |
computes if two rectangles are equal
r1 | first rectangle |
r2 | second rectangle |
FREERDP_API BOOL rectangles_intersection | ( | const RECTANGLE_16 * | r1, |
const RECTANGLE_16 * | r2, | ||
RECTANGLE_16 * | dst | ||
) |
computes the intersection of two rectangles
r1 | first rectangle |
r2 | second rectangle |
dst | resulting intersection |
FREERDP_API BOOL rectangles_intersects | ( | const RECTANGLE_16 * | r1, |
const RECTANGLE_16 * | r2 | ||
) |
computes if two rectangles intersect
r1 | first rectangle |
r2 | second rectangle |
FREERDP_API void region16_clear | ( | REGION16 * | region | ) |
clears the region, the region is reset to a (0,0,0,0) region
region | the region to clear |
FREERDP_API BOOL region16_copy | ( | REGION16 * | dst, |
const REGION16 * | src | ||
) |
copies the region to another region
dst | destination region |
src | source region |
FREERDP_API const RECTANGLE_16* region16_extents | ( | const REGION16 * | region | ) |
FREERDP_API void region16_init | ( | REGION16 * | region | ) |
initialize a region16
region | the region to initialise |
FREERDP_API BOOL region16_intersect_rect | ( | REGION16 * | dst, |
const REGION16 * | src, | ||
const RECTANGLE_16 * | arg2 | ||
) |
computes the intersection between a region and a rectangle
dst | destination region |
src | the source region |
arg2 | the rectangle that intersects |
FREERDP_API BOOL region16_intersects_rect | ( | const REGION16 * | src, |
const RECTANGLE_16 * | arg2 | ||
) |
returns if a rectangle intersects the region
src | the region |
arg2 | the rectangle |
FREERDP_API BOOL region16_is_empty | ( | const REGION16 * | region | ) |
returns if the region is empty
region | the region to check |
FREERDP_API int region16_n_rects | ( | const REGION16 * | region | ) |
FREERDP_API void region16_print | ( | const REGION16 * | region | ) |
dumps the region on stderr
region | the region to dump |
FREERDP_API const RECTANGLE_16* region16_rects | ( | const REGION16 * | region, |
UINT32 * | nbRects | ||
) |
returns a pointer to rectangles and the number of rectangles in this region. nbRects can be set to NULL if not interested in the number of rectangles.
region | the input region |
nbRects | if non-NULL returns the number of rectangles |
FREERDP_API void region16_uninit | ( | REGION16 * | region | ) |
release internal data associated with this region
region | the region to release |
FREERDP_API BOOL region16_union_rect | ( | REGION16 * | dst, |
const REGION16 * | src, | ||
const RECTANGLE_16 * | rect | ||
) |
adds a rectangle in src and stores the resulting region in dst
dst | destination region |
src | source region |
rect | the rectangle to add |