Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glexpose.c File Reference
#include "glexpose.h"
#include "draw.h"
#include "topviewfuncs.h"
#include <glcomp/glutils.h>
#include "topfisheyeview.h"
#include "gui/toolboxcallbacks.h"
#include "arcball.h"
#include "hotkeymap.h"
#include "polytess.h"
#include <stdint.h>
Include dependency graph for glexpose.c:

Go to the source code of this file.

Functions

static void drawRotatingAxis (void)
 
static int glupdatecamera (ViewInfo *vi)
 
static void glexpose_grid (ViewInfo *vi)
 
static int glexpose_drawgraph (ViewInfo *vi)
 
int glexpose_main (ViewInfo *vi)
 

Function Documentation

◆ drawRotatingAxis()

static void drawRotatingAxis ( void  )
static

Definition at line 21 of file glexpose.c.

References _ViewInfo::arcball, get_mode(), Matrix4fT::M, MM_ROTATE, _ArcBall_t::Transform, and view.

Referenced by glexpose_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glexpose_drawgraph()

static int glexpose_drawgraph ( ViewInfo vi)
static

Definition at line 132 of file glexpose.c.

References topview::active, _ViewInfo::activeGraph, drawtopologicalfisheye(), topview::fisheyeParams, renderSmGraph(), and _ViewInfo::Topview.

Referenced by glexpose_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glexpose_grid()

static void glexpose_grid ( ViewInfo vi)
static

Definition at line 107 of file glexpose.c.

References glCompColor::A, glCompColor::B, _ViewInfo::bdxLeft, _ViewInfo::bdxRight, _ViewInfo::bdyBottom, _ViewInfo::bdyTop, glCompColor::G, _ViewInfo::gridColor, _ViewInfo::gridSize, _ViewInfo::gridVisible, and glCompColor::R.

Referenced by glexpose_main().

Here is the caller graph for this function:

◆ glexpose_main()

int glexpose_main ( ViewInfo vi)

Definition at line 153 of file glexpose.c.

References _ViewInfo::activeGraph, btnToolZoomFit_clicked(), draw_selpoly(), drawBorders(), drawRotatingAxis(), glCompSetDraw(), glexpose_drawgraph(), glexpose_grid(), glupdatecamera(), NULL, topview::sel, _selection::selPoly, _ViewInfo::Topview, and _ViewInfo::widgets.

Referenced by cb_display(), and expose_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glupdatecamera()

static int glupdatecamera ( ViewInfo vi)
static

Definition at line 70 of file glexpose.c.

References _ViewInfo::active_camera, _ViewInfo::arcball, _ViewInfo::cameras, _ViewInfo::clipX1, _ViewInfo::clipX2, _ViewInfo::clipY1, _ViewInfo::clipY2, GetOGLPosRef(), _ViewInfo::h, Matrix4fT::M, _ViewInfo::panx, _ViewInfo::pany, _ViewInfo::panz, _viewport_camera::r, SIZE_MAX, _viewport_camera::targetx, _viewport_camera::targety, _ArcBall_t::Transform, _ViewInfo::w, and _ViewInfo::zoom.

Referenced by glexpose_main().

Here is the call graph for this function:
Here is the caller graph for this function: