Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
draw.h File Reference
#include "smyrnadefs.h"
#include <gtk/gtkgl.h>
#include <xdot/xdot.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <glcomp/glcompfont.h>
Include dependency graph for draw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void drawCircle (float x, float y, float radius, float zdepth)
 
void drawBorders (ViewInfo *view)
 
void draw_selpoly (glCompPoly *selPoly)
 

Variables

drawfunc_t OpFns []
 

Function Documentation

◆ draw_selpoly()

void draw_selpoly ( glCompPoly selPoly)
extern

Definition at line 416 of file draw.c.

References glCompPoly::cnt, glCompMouse::GLpos, _ViewInfo::mouse, glCompPoly::pts, view, glCompPoint::x, glCompPoint::y, and glCompPoint::z.

Referenced by glexpose_main().

Here is the caller graph for this function:

◆ drawBorders()

void drawBorders ( ViewInfo view)
extern

Definition at line 370 of file draw.c.

References glCompColor::A, glCompColor::B, _ViewInfo::bdVisible, _ViewInfo::bdxLeft, _ViewInfo::bdxRight, _ViewInfo::bdyBottom, _ViewInfo::bdyTop, _ViewInfo::borderColor, glCompColor::G, and glCompColor::R.

Referenced by glexpose_main().

Here is the caller graph for this function:

◆ drawCircle()

void drawCircle ( float  x,
float  y,
float  radius,
float  zdepth 
)
extern

Definition at line 387 of file draw.c.

References DEG2RAD, topview::global_z, _ViewInfo::Topview, and view.

Referenced by renderNodes(), and renderSelectedNodes().

Here is the caller graph for this function:

Variable Documentation

◆ OpFns

drawfunc_t OpFns[]
extern

Definition at line 403 of file draw.c.

Referenced by makeXDotSpline(), and parseXdotwithattrs().