25 #ifndef __SYNFIG_APP_ACTION_LAYERPAINT_H
26 #define __SYNFIG_APP_ACTION_LAYERPAINT_H
30 #include <synfig/layers/layer_bitmap.h>
56 x(x), y(y), pressure(pressure), dtime(dtime) { }
65 etl::handle<synfig::Layer_Bitmap> layer;
68 synfig::Surface surface;
75 std::vector<PaintPoint> points;
79 void copy_to_cairo_surface(
const synfig::Surface &surface, synfig::CairoSurface &csurface);
80 void paint_prev(synfig::Surface &surface);
81 void paint_self(synfig::Surface &surface);
88 void set_layer(etl::handle<synfig::Layer_Bitmap> layer) { assert(!prepared); this->layer = layer; }
89 etl::handle<synfig::Layer_Bitmap>
get_layer()
const {
return layer; }
109 virtual bool set_param(
const synfig::String& name,
const Param &);