#include <graph.h>
|
| GLabel (const char *s, const Color *, int fixtype=1, float size=12, float x_align=0., float y_align=0.) |
|
virtual | ~GLabel () |
|
virtual Glyph * | clone () const |
|
virtual void | request (Requisition &) const |
|
virtual void | allocate (Canvas *, const Allocation &, Extension &) |
|
virtual void | draw (Canvas *, const Allocation &) const |
|
virtual void | save (std::ostream &, Coord, Coord) |
|
virtual void | pick (Canvas *, const Allocation &, int depth, Hit &) |
|
void | text (const char *) |
|
void | fixed (float scale) |
|
void | vfixed (float scale) |
|
void | relative (float scale) |
|
void | align (float x, float y) |
|
void | color (const Color *) |
|
bool | fixed () const |
|
float | scale () const |
|
const char * | text () const |
|
int | fixtype () const |
|
float | x_align () const |
|
float | y_align () const |
|
const Color * | color () const |
|
bool | erase_flag () |
|
void | erase_flag (bool b) |
|
GPolyLine * | labeled_line () const |
|
Definition at line 418 of file graph.h.
◆ GLabel()
GLabel::GLabel |
( |
const char * |
s, |
|
|
const Color * |
, |
|
|
int |
fixtype = 1 , |
|
|
float |
size = 12 , |
|
|
float |
x_align = 0. , |
|
|
float |
y_align = 0. |
|
) |
| |
◆ ~GLabel()
virtual GLabel::~GLabel |
( |
| ) |
|
|
virtual |
◆ align()
void GLabel::align |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
◆ allocate()
◆ clone()
virtual Glyph* GLabel::clone |
( |
| ) |
const |
|
virtual |
◆ color() [1/2]
const Color* GLabel::color |
( |
| ) |
const |
|
inline |
◆ color() [2/2]
void GLabel::color |
( |
const Color * |
| ) |
|
◆ draw()
◆ erase_flag() [1/2]
bool GLabel::erase_flag |
( |
| ) |
|
|
inline |
◆ erase_flag() [2/2]
void GLabel::erase_flag |
( |
bool |
b | ) |
|
|
inline |
◆ fixed() [1/2]
bool GLabel::fixed |
( |
| ) |
const |
|
inline |
◆ fixed() [2/2]
void GLabel::fixed |
( |
float |
scale | ) |
|
◆ fixtype()
int GLabel::fixtype |
( |
| ) |
const |
|
inline |
◆ labeled_line()
◆ need()
◆ pick()
◆ relative()
void GLabel::relative |
( |
float |
scale | ) |
|
◆ request()
◆ save()
virtual void GLabel::save |
( |
std::ostream & |
, |
|
|
Coord |
, |
|
|
Coord |
|
|
) |
| |
|
virtual |
◆ scale()
float GLabel::scale |
( |
| ) |
const |
|
inline |
◆ text() [1/2]
const char* GLabel::text |
( |
| ) |
const |
|
inline |
◆ text() [2/2]
void GLabel::text |
( |
const char * |
| ) |
|
◆ vfixed()
void GLabel::vfixed |
( |
float |
scale | ) |
|
◆ x_align()
float GLabel::x_align |
( |
| ) |
const |
|
inline |
◆ y_align()
float GLabel::y_align |
( |
| ) |
const |
|
inline |
◆ GPolyLine::label
◆ color_
const Color* GLabel::color_ |
|
private |
◆ erase_flag_
◆ fixtype_
◆ gpl_
◆ label_
◆ scale_
◆ text_
std::string GLabel::text_ |
|
private |
◆ x_align_
◆ y_align_
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/nrn/checkouts/3466/src/ivoc/graph.h