summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas/fill.h
blob: 26095abe271006e9999e2b3826f92831d4868ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef __CANVAS_FILL_H__
#define __CANVAS_FILL_H__

#include <stdint.h>
#include "canvas/item.h"

namespace ArdourCanvas {

class Fill : virtual public Item
{
public:
	Fill (Group *);

	Color fill_color () const {
		return _fill_color;
	}
	void set_fill_color (Color);
	bool fill () const {
		return _fill;
	}
	void set_fill (bool);
	
protected:
	void setup_fill_context (Cairo::RefPtr<Cairo::Context>) const;
	
	Color _fill_color;
	bool _fill;
};

}

#endif