NCBI C++ ToolKit
|
Search Toolkit Book for IPhyloTreeRender::ProjectionElement
A coord (in one of +x,-x,+y,-y) and pixel offset in the same direction. More...
#include <gui/widgets/phylo_tree/phylo_tree_render.hpp>
Public Member Functions | |
ProjectionElement () | |
ProjectionElement (float p, float o) | |
Public Attributes | |
float | m_NodeCoord |
Node x or y position depending on whether this extent is vert. or horiz. More... | |
float | m_PixelOffset |
Pixel offset (direction +x,-x,+y,-y) relative to the x or y position above. More... | |
float | m_ProjectionCood |
Given a particular visible area and viewport size, position to which this node projects inside the viewport. More... | |
A coord (in one of +x,-x,+y,-y) and pixel offset in the same direction.
Definition at line 418 of file phylo_tree_render.hpp.
|
inline |
Definition at line 419 of file phylo_tree_render.hpp.
|
inline |
Definition at line 420 of file phylo_tree_render.hpp.
float IPhyloTreeRender::ProjectionElement::m_NodeCoord |
Node x or y position depending on whether this extent is vert. or horiz.
Definition at line 426 of file phylo_tree_render.hpp.
float IPhyloTreeRender::ProjectionElement::m_PixelOffset |
Pixel offset (direction +x,-x,+y,-y) relative to the x or y position above.
The owning class tracks according to offset direction.
Definition at line 430 of file phylo_tree_render.hpp.
float IPhyloTreeRender::ProjectionElement::m_ProjectionCood |
Given a particular visible area and viewport size, position to which this node projects inside the viewport.
Definition at line 434 of file phylo_tree_render.hpp.