GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
2 #ifndef GUIDOReducedProportional_H 3 #define GUIDOReducedProportional_H 18 #include "GUIDOEngine.h" 19 #include "GUIDOExport.h" 20 #include "GUIDOScoreMap.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)
Definition: GUIDOInternal.h:31
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...
RProportional * GuidoMidi2RProportional(const char *midiFileName)
Creates a new reduced proportional representation from a midi file.
Definition: RProportional.h:25
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.
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)