GUIDOLib
1.7.7
A Music Score Rendering Engine
|
Go to the documentation of this file. 2 #ifndef GUIDOReducedProportional_H 3 #define GUIDOReducedProportional_H
GuidoErrCode GuidoRProportionalSetLimits(RProportional *pr, GuidoDate start, GuidoDate end, int lowpitch, int highpitch)
Sets limits to a reduced proportional representation (start/end date, lower/higher pitch)
GuidoErrCode GuidoRProportionalEnableMeasureBars(RProportional *pr, bool enabled)
Enables or disable measure bars (false by default)
GuidoErrCode GuidoRProportionalSetHtmlColorToVoice(RProportional *pr, int voiceNum, const char *color)
Sets a html color to a voice (first voice is number 1) (black by default)
GuidoErrCode GuidoRProportionalRemoveColorToVoice(RProportional *pr, int voiceNum)
remove a color to a voice (first voice is number 1) (black by default)
RProportional * GuidoAR2RProportional(ARHandler arh)
Creates a new reduced proportional representation from AR.
GuidoErrCode GuidoRProportionalDrawDurationLines(RProportional *pr, bool enabled)
Enables or disable duration lines (enabled by default)
GuidoErrCode GuidoRProportionalGetMap(const RProportional *pr, int width, int height, Time2GraphicMap &outmap)
Gets a reduced proportional representation map.
GuidoErrCode GuidoRProportionalEnableAutoVoicesColoration(RProportional *pr, bool enabled)
Enables or not the automatic voices coloration (not enabled by default) If a color is manually set wi...
#define GUIDOAPI
Definition: GUIDOExport.h:39
RProportional * GuidoMidi2RProportional(const char *midiFileName)
Creates a new reduced proportional representation from a midi file.
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 GuidoDestroyRProportional(RProportional *pr)
Destroys a reduced proportional representation and releases all the associated ressources.
GuidoErrCode GuidoRProportionalOnDraw(RProportional *pr, int width, int height, VGDevice *dev)
Draw the reduced proportional representation on a VGDevice.
struct NodeAR * ARHandler
Definition: GUIDOEngine.h:36
GuidoErrCode GuidoRProportionalSetRGBColorToVoice(RProportional *pr, int voiceNum, int r, int g, int b, int a=255)
Sets a RGB color to a voice (first voice is number 1) (black by default)