NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <gui/opengl/glhelpers.hpp>
#include <gui/opengl/glresmgr.hpp>
#include <gui/opengl/irender.hpp>
#include <gui/opengl/glstate.hpp>
#include <gui/opengl/glbitmapfont.hpp>
#include <gui/widgets/gl/ruler.hpp>
#include <math.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Variables | |
static const int | kMinTickStepPixels = 5 |
static const int | kLabelSepPixX = 12 |
static const int | kLabelSepPixY = 12 |
static int | kTextSpaceX = 2 |
spacing between text and borders or between text and other graphics More... | |
static int | kTextSpaceY = 2 |
static const int | kOriginOffsetX = 6 |
distance in pixels between left side of the ruler and origin labels More... | |
static const int | kMinMetricPix = 20 |
minimal size of the metric in pixels More... | |
Definition at line 87 of file ruler.cpp.
Referenced by CRuler::x_CalculatePosLabelsStep(), and CRuler::x_RenderAllPosLabels().
Definition at line 88 of file ruler.cpp.
Referenced by CRuler::x_CalculatePosLabelsStep(), and CRuler::x_RenderAllPosLabels().
minimal size of the metric in pixels
Definition at line 942 of file ruler.cpp.
Referenced by CRuler::x_RenderOriginAndMetric().
Definition at line 86 of file ruler.cpp.
Referenced by CRuler::x_ChooseTickSpace().
distance in pixels between left side of the ruler and origin labels
Definition at line 939 of file ruler.cpp.
Referenced by CRuler::x_RenderOriginAndMetric().
|
static |
spacing between text and borders or between text and other graphics
Definition at line 230 of file ruler.cpp.
Referenced by CRuler::x_GetOriginMetricSizeV(), CRuler::x_GetTicksLabelsSizeV(), CRuler::x_RenderAllPosLabels(), and CRuler::x_RenderVertPosLabel().
|
static |
Definition at line 231 of file ruler.cpp.
Referenced by CRuler::x_GetOriginMetricSizeV(), CRuler::x_GetTicksLabelsSizeV(), CRuler::x_RenderHorzPosLabel(), and CRuler::x_RenderVertPosLabel().