#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>
Include dependency graph for ruler.cpp:
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...Definition at line 87 of file ruler.cpp.
Referenced by CRuler::x_CalculatePosLabelsStep(), and CRuler::x_RenderAllPosLabels().
◆ kLabelSepPixY const int kLabelSepPixY = 12 staticDefinition at line 88 of file ruler.cpp.
Referenced by CRuler::x_CalculatePosLabelsStep(), and CRuler::x_RenderAllPosLabels().
◆ kMinMetricPix const int kMinMetricPix = 20 staticminimal size of the metric in pixels
Definition at line 942 of file ruler.cpp.
Referenced by CRuler::x_RenderOriginAndMetric().
◆ kMinTickStepPixels const int kMinTickStepPixels = 5 staticDefinition at line 86 of file ruler.cpp.
Referenced by CRuler::x_ChooseTickSpace().
◆ kOriginOffsetX const int kOriginOffsetX = 6 staticdistance in pixels between left side of the ruler and origin labels
Definition at line 939 of file ruler.cpp.
Referenced by CRuler::x_RenderOriginAndMetric().
◆ kTextSpaceX int kTextSpaceX = 2 staticspacing 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().
◆ kTextSpaceY int kTextSpaceY = 2 staticDefinition at line 231 of file ruler.cpp.
Referenced by CRuler::x_GetOriginMetricSizeV(), CRuler::x_GetTicksLabelsSizeV(), CRuler::x_RenderHorzPosLabel(), and CRuler::x_RenderVertPosLabel().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4