Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

MeasureSectionGr Class Reference
[Layout]

#include <MeasureSection.h>

Inheritance diagram for MeasureSectionGr:

Graphical List of all members.

Public Member Functions

 MeasureSectionGr (Constraint *, Graphical *parent, Container *container, int indice, int lineIndex, int pgnb)
void update ()
void firstPass ()
void collisionDetectionPass ()
void secondPass ()
double y ()
double x ()
double getEndOfMeasureSection ()
void paint ()
void closeMeasureSection ()

Detailed Description

This class represent a line with all parts in a score. there is a strong constrain made by the program here : There is no possibility to split a line into its several parts and put it on different pages, but I never seen such a score. In a measure section the graphical responsability are the vertical bar on the side.


Constructor & Destructor Documentation

MeasureSectionGr::MeasureSectionGr Constraint cst,
Graphical p,
Container c,
int  i,
int  lineI,
int  pgnb
 

Here we will fill the list of MeasureSectionStaff. To construct a measure sction we must know its indice. For each measureSection we build There there will be a need to compute the resulting constraint when there are several staves having a different lenght the score number of staves in it.

Parameters:
cst the constraint of the page
p the parent
i the index of the measure section
isFirstOfLine true if the measure section is the first in the line
lineI the line inndex


Member Function Documentation

void MeasureSectionGr::closeMeasureSection  ) 
 

Close all the staff section in this measure section This method is alled by the last measre in the line

void MeasureSectionGr::collisionDetectionPass  ) 
 

In this pass we compute and resolve the collisions

void MeasureSectionGr::firstPass  ) 
 

The measure section building is a two pass process. This is the first

double MeasureSectionGr::getEndOfMeasureSection  ) 
 

Returns:
the length in x coordinate it is the maximum of all the length of the staff section

void MeasureSectionGr::paint  )  [virtual]
 

Implements Graphical.

void MeasureSectionGr::secondPass  ) 
 

This does the second pass

See also:
lineConstruction.txt specs

void MeasureSectionGr::update  )  [virtual]
 

The update method do a drawing of all the symbol *

TODO Boooh ... Its empty

Reimplemented from Graphical.

double MeasureSectionGr::x  ) 
 

Returns:
the x start point in the LineGr

double MeasureSectionGr::y  ) 
 

Returns:
the y coordinate of the LineGr This should return really the y coordinate of the LineGr


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:33 2004 for Alternate Take by doxygen 1.3.6