A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ruler_8cpp.html below:

NCBI C++ ToolKit: src/gui/widgets/gl/ruler.cpp File Reference

#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...
  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...
  Variable Documentation ◆ kLabelSepPixX const int kLabelSepPixX = 12 static

Definition at line 87 of file ruler.cpp.

Referenced by CRuler::x_CalculatePosLabelsStep(), and CRuler::x_RenderAllPosLabels().

◆ kLabelSepPixY const int kLabelSepPixY = 12 static

Definition at line 88 of file ruler.cpp.

Referenced by CRuler::x_CalculatePosLabelsStep(), and CRuler::x_RenderAllPosLabels().

◆ kMinMetricPix const int kMinMetricPix = 20 static

minimal size of the metric in pixels

Definition at line 942 of file ruler.cpp.

Referenced by CRuler::x_RenderOriginAndMetric().

◆ kMinTickStepPixels const int kMinTickStepPixels = 5 static

Definition at line 86 of file ruler.cpp.

Referenced by CRuler::x_ChooseTickSpace().

◆ kOriginOffsetX const int kOriginOffsetX = 6 static

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().

◆ kTextSpaceX int kTextSpaceX = 2 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().

◆ kTextSpaceY int kTextSpaceY = 2 static

Definition 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