Public Methods
- ScoreBar (ScoreType scoretype, Part * part, bool isfirst=false, bool isActive=false)
- ~ScoreBar ()
- void add (Event*, Position, long, int, bool, bool)
- bool isFirst () const
- bool isLast ()
- bool isActive () const
- int key () const
- int clef () const
- int meter (int i) const
- void setMeter (int,int)
- int program () const
- double scale () const
- void setScale (double)
- void setRawWidth (int)
- const char * position ()
- bool multiple () const
- int systemIndent ()
- void setIndent (int)
- int commonIndent () const
- int commonRawWidth () const
- int rawWidth () const
- int width ()
- int xindent ()
- double unitsPerTick ()
- Reference * symbols ()
- virtual const Position & start () const
- virtual long end () const
- virtual long duration () const
- virtual int display () const
- virtual void paint (PrScoreEditor * ed, int x=0, int y=0, int style=0)
- virtual void print (PrScoreEditor * ed, int x=0, int y=0)
- virtual ostream & print (int,ostream&) const
- virtual void flush (const char*) const
- virtual Element * copy () const
ScoreBar (ScoreType scoretype, Part * part, bool isfirst=false, bool isActive=false)
| ScoreBar |
a part is specified only if this is the first bar inside the part
[const]
bool isActive ()
| isActive |
[const]
[const]
[const]
[const]
void setMeter (int,int)
| setMeter |
[const]
[const]
void setScale (double)
| setScale |
void setRawWidth (int)
| setRawWidth |
const char * position ()
| position |
bool multiple ()
| multiple |
[const]
int systemIndent ()
| systemIndent |
Returns the number of units (chars in text-presentation, pixels in graphical presentation) used for the key and signature for this bar.
This is usually zero except for the first bar inside a part
void setIndent (int)
| setIndent |
int commonIndent ()
| commonIndent |
[const]
int commonRawWidth ()
| commonRawWidth |
[const]
[const]
Returns the smallest width for this bar. It is determined by wd = 8 units * 1536 ticks / length_of_shortest_note_in_bar
e.g. when the shortest note within the bar is an eigth (192 ticks), the returned value is 64 units
Returns the total width including scaling and indent!
double unitsPerTick ()
| unitsPerTick |
Returns the number of units (chars in text-presentation, pixels in graphical presentation) used to propagate one tick. This is a ratio!
[const virtual]
Reimplemented from ScoreObject.
[const virtual]
Reimplemented from ScoreObject.
long duration ()
| duration |
[const virtual]
Reimplemented from ScoreObject.
[const virtual]
Reimplemented from ScoreObject.
void paint (PrScoreEditor * ed, int x=0, int y=0, int style=0)
| paint |
[virtual]
Reimplemented from ScoreObject.
[virtual]
Reimplemented from ScoreObject.
[const virtual]
Reimplemented from ScoreObject.
void flush (const char*)
| flush |
[const virtual]
Reimplemented from ScoreObject.
[const virtual]
Reimplemented from ScoreObject.
Generated by: wuerthne on clouseau on Fri Sep 21 19:20:46 2001, using kdoc 2.0a53. |