gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
drawAxes.cpp File Reference
#include <string>
#include <iostream>
#include "GmshGlobal.h"
#include <string.h>
#include "drawContext.h"
#include "Trackball.h"
#include "GModel.h"
#include "Context.h"
#include "Numeric.h"
#include "gl2ps.h"
Include dependency graph for drawAxes.cpp:

Go to the source code of this file.

Macros

#define SQU(a)   ((a) * (a))
 

Functions

static int drawTics (drawContext *ctx, int comp, double n, std::string &format, std::string &label, double p1[3], double p2[3], double perp[3], int mikado, double pixelfact, double value_p1[3], double value_p2[3])
 
static void drawGridStipple (int n1, int n2, double p1[3], double p2[3], double p3[3])
 

Macro Definition Documentation

◆ SQU

#define SQU (   a)    ((a) * (a))

Definition at line 18 of file drawAxes.cpp.

Function Documentation

◆ drawGridStipple()

static void drawGridStipple ( int  n1,
int  n2,
double  p1[3],
double  p2[3],
double  p3[3] 
)
static

Definition at line 115 of file drawAxes.cpp.

Referenced by drawContext::drawAxes().

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

◆ drawTics()

static int drawTics ( drawContext ctx,
int  comp,
double  n,
std::string &  format,
std::string &  label,
double  p1[3],
double  p2[3],
double  perp[3],
int  mikado,
double  pixelfact,
double  value_p1[3],
double  value_p2[3] 
)
static

Definition at line 19 of file drawAxes.cpp.

Referenced by drawContext::drawAxes().

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