Graphviz 13.0.0~dev.20241220.2304
|
Go to the source code of this file.
Functions | |
int | GetOGLPosRef (int x, int y, float *X, float *Y) |
float | GetOGLDistance (float l) |
void | to3D (int x, int y, float *X, float *Y, float *Z) |
double | point_to_lineseg_dist (glCompPoint p, glCompPoint a, glCompPoint b) |
void | glCompCalcWidget (glCompCommon *parent, glCompCommon *child, glCompCommon *ref) |
void | glCompDrawRectangle (glCompRect *r) |
void | glCompDrawRectPrism (glCompPoint *p, float w, float h, float b, float d, glCompColor *c, bool bumped) |
void | glCompSetColor (glCompColor c) |
float | distBetweenPts (glCompPoint A, glCompPoint B, float R) |
int | is_point_in_rectangle (float X, float Y, float RX, float RY, float RW, float RH) |
float distBetweenPts | ( | glCompPoint | A, |
glCompPoint | B, | ||
float | R | ||
) |
Definition at line 360 of file glutils.c.
Referenced by pick_object().
float GetOGLDistance | ( | float | l | ) |
Definition at line 53 of file glutils.c.
Referenced by close_poly(), glmotion_pan(), and pick_object().
int GetOGLPosRef | ( | int | x, |
int | y, | ||
float * | X, | ||
float * | Y | ||
) |
Definition at line 19 of file glutils.c.
Referenced by glupdatecamera().
|
extern |
Definition at line 195 of file glutils.c.
References glCompCommon::align, glCompCommon::anchor, glCompAnchor::bottom, glCompAnchor::bottomAnchor, glAlignBottom, glAlignCenter, glAlignLeft, glAlignNone, glAlignParent, glAlignRight, glAlignTop, glCompCommon::height, glCompAnchor::left, glCompAnchor::leftAnchor, parent, glCompCommon::pos, ref(), glCompCommon::refPos, glCompAnchor::right, glCompAnchor::rightAnchor, glCompAnchor::top, glCompAnchor::topAnchor, glCompCommon::width, glCompPoint::x, and glCompPoint::y.
Referenced by glCompButtonDraw(), glCompImageDraw(), glCompLabelDraw(), and glCompPanelDraw().
|
extern |
Definition at line 296 of file glutils.c.
References glCompRect::h, glCompRect::pos, glCompRect::w, glCompPoint::x, glCompPoint::y, and glCompPoint::z.
Referenced by glCompPanelDraw().
void glCompDrawRectPrism | ( | glCompPoint * | p, |
float | w, | ||
float | h, | ||
float | b, | ||
float | d, | ||
glCompColor * | c, | ||
bool | bumped | ||
) |
Definition at line 306 of file glutils.c.
References A, glCompColor::A, glCompColor::B, B, C, D, dim, E, F, glCompColor::G, G, glCompQuadVertex(), glCompColor::R, glCompPoint::x, glCompPoint::y, and glCompPoint::z.
Referenced by glCompButtonDraw(), and glCompPanelDraw().
void glCompSetColor | ( | glCompColor | c | ) |
Definition at line 294 of file glutils.c.
References glCompColor::A, glCompColor::B, glCompColor::G, and glCompColor::R.
Referenced by glCompRenderText().
|
extern |
Definition at line 368 of file glutils.c.
Referenced by pick_objects_in_rect().
double point_to_lineseg_dist | ( | glCompPoint | p, |
glCompPoint | a, | ||
glCompPoint | b | ||
) |
void to3D | ( | int | x, |
int | y, | ||
float * | X, | ||
float * | Y, | ||
float * | Z | ||
) |
Definition at line 100 of file glutils.c.
Referenced by appmouse_down(), appmouse_drag(), appmouse_move(), appmouse_up(), and CBglCompMouseRightClick().