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_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/gl/ruler.hpp Source File

1 #ifndef GUI_WIDGETS_GL___RULER__HPP 2 #define GUI_WIDGETS_GL___RULER__HPP 112

fShowTextLabel = 0x08,

113

fFillBackground = 0x10,

114

fHideNegative = 0x20,

115

fHideFirstLabel = 0x40,

116

fHideLastLabel = 0x80,

117

fFirstLabelHasText = 0x100,

118

fDefaultDisplayOptions = fFillBackground

130  CRuler

(

bool

horz =

true

);

137  unsigned int

font_size=12);

143  void

SetDisplayOptions(

int

options);

154  void

SetRange(

int

start,

int

end,

int

seq_start,

bool

reverse);

157  void

SetBaseWidth(

int value

);

159  void

SetTextLabel(

const string

&

label

);

161  TVPPoint

GetPreferredSize(

int

max_num = 0)

const

;

164  int

GetLabelStep()

const

;

191  bool

x_TextAlongAxis()

const

;

193  int

x_ToDisplay(

const TAlignRange

& range,

int

model)

const

;

197  void

x_CalculatePosLabelsStep(

CGlPane

& Pane);

198  void

x_ChooseTickSpace(

double

scale);

200  void

x_UpdateMappingByPane(

CGlPane

& pane);

201  void

x_UpdatePosLabelsStep(

CGlPane

& pane);

207  void

x_RenderOriginAndMetric(

CGlPane

& pane,

const TRange

& clip_r);

209  string

x_GetPositionLabel(

const TAlignRange

& range,

int

iElem);

210  void

x_GenerateLabelPositions(

const TAlignRange

& range,

211  int

first_elem,

int

last_elem, vector<TModelUnit>& vElemPos);

213  void

x_RenderPosLabel(

CGlPane

& pane,

double

pos_u,

214  double

label_offset_u,

const string

&

text

,

215  bool

draw_tick =

true

);

216  void

x_RenderHorzPosLabel(

CGlPane

& pane,

double

pos_u,

217  double

label_offset_u,

const string

&

text

,

218  bool

draw_tick =

true

);

219  void

x_RenderVertPosLabel(

CGlPane

& pane,

double

pos_u,

220  double

label_offset_u,

const string

&

text

,

221  bool

draw_tick =

true

);

225  int

x_GetTicksLabelsSizeV(

int

max_num)

const

;

226  int

x_GetOriginMetricSizeV()

const

;

CAlignRange Represents an element of pairwise alignment of two sequences.

class CRgbaColor provides a simple abstraction for managing colors.

CRuler is a renderable object drawing a scale with position labels.

CAlignRange< TPos > TAlignRange

int GetLabelStep() const

Get the distance between two tick labels.

TModelRect m_rcLimits

"true" if parameters affecting layout have been changed

CGlTextureFont::EFontRotateFlags m_FontRotate

Font rotation flags (rotate around base or cap)

virtual void SetOrder(int order)

CAlignRangeCollection< TAlignRange > TAlignColl

int m_FontRotateDegrees

Use degrees as int for safe comparison to 0, 90, 180 etc.

void SetBaseWidth(int value)

EGeometryParam

Ticks and labels placement.

@ eOppMajorTickHeight

major tick on the opposite side

@ eOppMinorTickHeight

minor tick on the opposite side

@ eLabelTickHeight

tick size at label position

virtual int GetOrder() const

ELabelPlacement m_LabelPlace

void x_UpdatePosLabelsStep(CGlPane &pane)

ELabelAlign

How labels align around ticks.

@ eAln_Top

valid for vertical mode only (mapped to eAln_Right for horizontal mode)

@ eAln_Right

valid for horizontal mode only (mapped to eAln_Top for vertical mode)

@ eAln_Left

valid for horizontal mode only (mapped to eAln_Bottom for vertical mode)

void Update(CGlPane &pane)

TAlignColl m_Mapping

range displayed is [m_Start + m_Offset, m_End + m_Offset]

IRenderable class IRenderable defines an abstract interface required for rendering graphical panels i...

virtual void SetModelRect(const TModelRect &rc)=0

virtual int GetOrder() const =0

virtual void SetVisible(bool set)=0

virtual void SetOrder(int order)=0

virtual void SetVPRect(const TVPRect &rc)=0

virtual bool NeedTooltip(CGlPane &pane, TVPUnit vp_x, TVPUnit vp_y)=0

virtual void Render(CGlPane &pane)=0

virtual TModelRect GetModelRect() const =0

virtual TVPPoint PreferredSize()=0

virtual bool IsVisible()=0

virtual TVPRect GetVPRect() const =0

virtual string GetTooltip()=0

int TSignedSeqPos

Type for signed sequence position.

EFontRotateFlags

Font rotate options.

EFontFace

Set of pre-defined fonts for which we know we have valid font files.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIWIDGETS_GL_EXPORT

static const char label[]

static void text(MDB_val *v)

constexpr auto rotate(list< Ts... >) -> decltype((list<>{}+...+rotate_item< Ts >{}))

const GenericPointer< typename T::ValueType > T2 value


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