class ScoreBar


Definition#include <scoreBar.h>
InheritsScoreObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

 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

 ~ScoreBar ()

~ScoreBar

void  add (Event*, Position, long, int, bool, bool)

add

bool  isFirst ()

isFirst

[const]

bool  isLast ()

isLast

bool  isActive ()

isActive

[const]

int  key ()

key

[const]

int  clef ()

clef

[const]

int  meter (int i)

meter

[const]

void  setMeter (int,int)

setMeter

int  program ()

program

[const]

double  scale ()

scale

[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]

int  rawWidth ()

rawWidth

[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

int  width ()

width

Returns the total width including scaling and indent!

int  xindent ()

xindent

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!

Reference *  symbols ()

symbols

const Position &  start ()

start

[const virtual]

Reimplemented from ScoreObject.

long  end ()

end

[const virtual]

Reimplemented from ScoreObject.

long  duration ()

duration

[const virtual]

Reimplemented from ScoreObject.

int  display ()

display

[const virtual]

Reimplemented from ScoreObject.

void  paint (PrScoreEditor * ed, int x=0, int y=0, int style=0)

paint

[virtual]

Reimplemented from ScoreObject.

void  print (PrScoreEditor * ed, int x=0, int y=0)

print

[virtual]

Reimplemented from ScoreObject.

ostream &  print (int,ostream&)

print

[const virtual]

Reimplemented from ScoreObject.

void  flush (const char*)

flush

[const virtual]

Reimplemented from ScoreObject.

Element *  copy ()

copy

[const virtual]

Reimplemented from ScoreObject.


Generated by: wuerthne on clouseau on Fri Sep 21 19:20:46 2001, using kdoc 2.0a53.