#include <Constraint.h>
Public Member Functions | |
| Constraint () | |
| void | setBaseLine (double) |
| double | getBaseLine () |
| void | beginNewLine (int i, double d) |
| int | countMeasureSection () |
| MeasureSectionConstraint * | getMeasureSectionConstraint (int i) |
| YLinesConstraint * | getYLinesConstraints (int page) |
| double | getEndOfMeasure () |
| int | countWhiteSpace (int measureFirst, int measureLast) |
| void | applyKerning (int measureFirst, int measureLast, double kerning) |
| void | removeLastMeasureSectionConstraint () |
|
|
Constructor for a constraint |
|
||||||||||||||||
|
Apply the kerning from measure first to last (including it) Warning this method is quite difficult in algorithm you should be aware that litte modification could lead you to big trouble. see spec for explainations |
|
||||||||||||
|
Call this method if you start a new line
|
|
|
|
|
||||||||||||
|
This method count the number of white space from measure first to measure last this is usefulle for computing the kerning
|
|
|
|
|
|
|
|
|
|
|
|
remove the last mesureSectionConstraint this is used by the line when it oversize the page margin destroy not only the reference but also the object. |
|
|
|
1.3.6