gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
drawScales.cpp File Reference
#include <algorithm>
#include "drawContext.h"
#include "PView.h"
#include "PViewOptions.h"
#include "PViewData.h"
#include "Context.h"
#include "gl2ps.h"
Include dependency graph for drawScales.cpp:

Go to the source code of this file.

Functions

static void drawScaleBar (PView *p, double xmin, double ymin, double width, double height, double tic, int horizontal)
 
static void drawScaleValues (drawContext *ctx, PView *p, double xmin, double ymin, double width, double height, double tic, int horizontal)
 
static void drawScaleLabel (drawContext *ctx, PView *p, double xmin, double ymin, double width, double height, double tic, int horizontal)
 
static void drawScale (drawContext *ctx, PView *p, double xmin, double ymin, double width, double height, double tic, int horizontal)
 

Function Documentation

◆ drawScale()

static void drawScale ( drawContext ctx,
PView p,
double  xmin,
double  ymin,
double  width,
double  height,
double  tic,
int  horizontal 
)
static

Definition at line 243 of file drawScales.cpp.

Referenced by drawContext::drawScales().

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

◆ drawScaleBar()

static void drawScaleBar ( PView p,
double  xmin,
double  ymin,
double  width,
double  height,
double  tic,
int  horizontal 
)
static

Definition at line 14 of file drawScales.cpp.

Referenced by drawScale().

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

◆ drawScaleLabel()

static void drawScaleLabel ( drawContext ctx,
PView p,
double  xmin,
double  ymin,
double  width,
double  height,
double  tic,
int  horizontal 
)
static

Definition at line 164 of file drawScales.cpp.

Referenced by drawScale().

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

◆ drawScaleValues()

static void drawScaleValues ( drawContext ctx,
PView p,
double  xmin,
double  ymin,
double  width,
double  height,
double  tic,
int  horizontal 
)
static

Definition at line 85 of file drawScales.cpp.

Referenced by drawScale().

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