m_BackColor(0.9f, 0.9f, 0.9f),
55m_TextColor(0.0f, 0.0f, 0.0f)
136 doublemin_w = 1.0 / seq_sym_w;
138 if(min_w > scale_x) {
157 for(
TSeqPosbp = 0; bp != seq.length(); bp++) {
174 doublemin_h = 1.0 / seq_h;
177 if(min_h > scale_y) {
194 for(
TSeqPosbp = 0; bp != seq.length(); bp++) {
219 strings =
"Sequence : "+ sequence::CDeflineGenerator().GenerateDefline(
m_Bioseq);
virtual bool NeedTooltip(CGlPane &pane, int vp_x, int vp_y)
void SetBioseqHandle(objects::CBioseq_Handle &handle)
virtual void Render(CGlPane &pane)
CRef< CGlTextureFont > m_pSeqFont
CHitMatrixSeqGraph(bool b_horz)
virtual string GetTooltip()
objects::CBioseq_Handle m_Bioseq
void SetFonts(CGlTextureFont *seq_font)
virtual TVPPoint PreferredSize()
unsigned int TSeqPos
Type for sequence locations and lengths.
IRender & GetGl()
convenience function for getting current render manager
virtual void BeginText(const CGlTextureFont *font, const CRgbaColor &color)=0
Text is drawn is pixel coordinates.
TModelUnit GetOffsetY() const
virtual void EndText()=0
Pops matrices and attributes after writing text.
bool PtInRect(T x, T y) const
void Inflate(T d_x, T d_y)
virtual void PolygonMode(GLenum face, GLenum mode)=0
Set the polygon rasterization mode.
virtual void WriteText(TModelUnit x, TModelUnit y, const char *text, TModelUnit rotate_degrees=0.0)=0
Write text at specified model coords.
virtual TModelUnit TextWidth(const char *text) const
Compute and return font metrics.
TModelRect & GetVisibleRect(void)
virtual TModelUnit GetMetric(const CGlTextureFont *font, IGlFont::EMetric metric, const char *text=NULL, int len=-1) const =0
Calls the standard font metric functions except for pdf in which case it first replaces any bitmap fo...
TModelUnit GetScaleX(void) const
TModelUnit GetScaleY(void) const
TModelUnit GetOffsetX() const
virtual void ColorC(const CRgbaColor &c)=0
Set current color (glColor{3,4}{f,d}{v,})
void Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
void GetSeqData(TSeqPos start, TSeqPos stop, string &buffer) const
Fill the buffer string with the sequence data for the interval [start, stop).
void SetIupacCoding(void)
Set coding to either Iupacaa or Iupacna depending on molecule type.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
static const int kTextOffset
const struct ncbi::grid::netcache::search::fields::SIZE size
The NCBI C++/STL use hints.
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