mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
change rendering technique for waveforms, add back optional gradient, add back amplitude scaling, add rgb/hsv conversion utilities to canvas
This commit is contained in:
parent
abba366fce
commit
ccc9b6adee
5 changed files with 209 additions and 24 deletions
|
|
@ -21,7 +21,12 @@
|
|||
|
||||
namespace ArdourCanvas {
|
||||
|
||||
extern void set_source_rgba (Cairo::RefPtr<Cairo::Context>, Color);
|
||||
|
||||
extern void color_to_hsv (Color color, double& h, double& s, double& v);
|
||||
extern Color hsv_to_color (double h, double s, double v, double a);
|
||||
|
||||
extern void color_to_rgba (Color, double& r, double& g, double& b, double& a);
|
||||
extern Color rgba_to_color (double r, double g, double b, double a);
|
||||
|
||||
extern void set_source_rgba (Cairo::RefPtr<Cairo::Context>, Color);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue