Rectangles with reference counting.
This module contains code for MX_RECTATOM which is a MX_RECT with reference counting. The reference counting is done my deriving MX_RECTATOM from MX_ATOM. Additional macros exist for reading rectangle positioning and dimensions. (../include/deds/rectatom.h)
Part of the deds library.
MX_RECTATOM_DATA
MX_RECT with reference counting
# define MXRECT(b)
Typesafe conversion between a class derived from MX_RECTATOM to a MX_RECT.
# define mx_rectatom(r,d,s)
Construct a MX_RECTATOM
# define mx_rectatom_place(r, rect)
Place a MX_RECTAOM at some specific rectangle.
# define mx_x1(r)
MX_RECTATOM x1 value.
# define mx_y1(r)
MX_RECTATOM y1 value.
# define mx_x2(r)
MX_RECTATOM x2 value.
# define mx_y2(r)
MX_RECTATOM y2 value.
# define mx_w(r)
MX_RECTATOM width.
# define mx_h(r)
MX_RECTATOM height.
void* mx__rectatom(MX_RECTATOM_DATA* rectatom, MX__ATOM_DESTRUCT destruct, size_t size)
Construct a MX_RECTATOM.
void mx__rectatom_place(MX_RECTATOM_DATA* rectatom, const MX_RECT* rrect)
Place a MX_RECTATOM
This function places a MX_RECTATOM at a specified area. (../include/deds/rectatom.c)
Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007