1 /* This file is part of MyPaint.
2 * Copyright (C) 2008 by Martin Renold <martinxyz@gmx.ch>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY. See the COPYING file for more details.
10 // surface interface required by brush.hpp
12 virtual bool draw_dab (float x, float y,
14 float color_r, float color_g, float color_b,
15 float opaque, float hardness = 0.5,
16 float alpha_eraser = 1.0
19 virtual void get_color (float x, float y,
21 float * color_r, float * color_g, float * color_b, float * color_a