GUIDOLib
1.7.7
A Music Score Rendering Engine
|
Go to the documentation of this file. 1 #ifndef GUIDOREDUCEDPROPORTIONALADAPTER_H 2 #define GUIDOREDUCEDPROPORTIONALADAPTER_H 148 std::string
svgExport(RProportional *pr,
int width,
int height);
157 GuidoErrCode javascriptExport(RProportional *pr,
int width,
int height);
virtual ~GUIDOReducedProportionalAdapter()
RProportional * ar2RProportional(ARHandler arh)
Creates a new reduced proportional representation from AR.
GuidoErrCode enableMeasureBars(RProportional *pr, bool enabled)
Enables or disable measure bars (false by default)
RProportional * midi2RProportional(const std::string &midiFileName)
Creates a new reduced proportional representation from a midi file.
GuidoErrCode removeColorToVoice(RProportional *pr, int voiceNum)
remove a color to a voice (first voice is number 1) (black by default)
GuidoErrCode onDraw(RProportional *pr, int width, int height, VGDevice *dev)
Draw the reduced proportional representation on a VGDevice.
std::string svgExport(RProportional *pr, int width, int height)
svgExport Draw the reduced proportional representation on SVG device and return the xml string.
GuidoErrCode setLimits(RProportional *pr, GuidoDate start, GuidoDate end, int lowpitch, int highpitch)
Sets limits to a reduced proportional representation (start/end date, lower/higher pitch)
GuidoErrCode setHtmlColorToVoice(RProportional *pr, int voiceNum, const char *color)
Sets a html color to a voice (first voice is number 1) (black by default)
std::vector< TMapSegments > Time2GraphicMap
Definition: GUIDOScoreMap.h:89
GuidoErrCode
The guido error codes list.
Definition: GUIDOEngine.h:211
Representation of a date as a rational value.
Definition: GUIDOEngine.h:83
Generic platform independant drawing device.
Definition: VGDevice.h:68
GuidoErrCode drawDurationLines(RProportional *pr, bool enabled)
Enables or disable duration lines (enabled by default)
GuidoErrCode setRGBColorToVoice(RProportional *pr, int voiceNum, int r, int g, int b, int a)
Sets a RGB color to a voice (first voice is number 1) (black by default)
class_export GUIDOReducedProportionalAdapter
Definition: GUIDOReducedProportionalAdapter.h:30
struct NodeAR * ARHandler
Definition: GUIDOEngine.h:36
GuidoErrCode enableAutoVoicesColoration(RProportional *pr, bool enabled)
Enables or not the automatic voices coloration (not enabled by default) If a color is manually set wi...
#define class_export
Definition: GUIDOExport.h:38
GuidoErrCode destroyRProportional(RProportional *pr)
Destroys a reduced proportional representation and releases all the associated ressources.
Time2GraphicMap getMap(RProportional *pr, int width, int height)
Gets a reduced proportional representation map.