Package guidoengine
Class guidodrawdesc
- java.lang.Object
-
- guidoengine.guidodrawdesc
-
public class guidodrawdesc extends java.lang.Object
Guido score drawing descriptor guidodrawdesc is basically a data structure used to indicate how to draw a score to the guido engine.
-
-
Field Summary
Fields Modifier and Type Field Description int
fHeight
Indicates the size of the drawing area.boolean
fIsprint
Flag for printing.int
fPage
The page number.int
fScrollx
Indicates the coordinates of the score point that will appear at the graphic origin.int
fScrolly
Indicates the coordinates of the score point that will appear at the graphic origin.int
fWidth
Indicates the size of the drawing area.
-
Constructor Summary
Constructors Constructor Description guidodrawdesc()
guidodrawdesc(int w, int h)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
Init()
Internal jni initialization method.void
print()
Print utility.
-
-
-
Field Detail
-
fPage
public int fPage
The page number. Starts from 1.
-
fScrollx
public int fScrollx
Indicates the coordinates of the score point that will appear at the graphic origin. Typical values are 0. Non null values have the effect of moving a window over the score page, like scroll bars that move a page view. Units are guido internal units.
-
fScrolly
public int fScrolly
Indicates the coordinates of the score point that will appear at the graphic origin. Typical values are 0. Non null values have the effect of moving a window over the score page, like scroll bars that move a page view. Units are guido internal units.
-
fWidth
public int fWidth
Indicates the size of the drawing area. Units are device units (typically pixels).
-
fHeight
public int fHeight
Indicates the size of the drawing area. Units are device units (typically pixels).
-
fIsprint
public boolean fIsprint
Flag for printing. If true, the engine ignores scroll and sizes parameters. (probably obsolete now!)
-
-