synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
lyr_std
supersample.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
26
/* === S T A R T =========================================================== */
27
28
#ifndef __SYNFIG_SUPERSAMPLE_H
29
#define __SYNFIG_SUPERSAMPLE_H
30
31
/* === H E A D E R S ======================================================= */
32
33
#include <
synfig/layer.h
>
34
35
/* === M A C R O S ========================================================= */
36
37
/* === T Y P E D E F S ===================================================== */
38
39
/* === C L A S S E S & S T R U C T S ======================================= */
40
41
using namespace
synfig;
42
using namespace
std;
43
using namespace
etl;
44
45
class
SuperSample
:
public
synfig::Layer
46
{
47
SYNFIG_LAYER_MODULE_EXT
48
49
private
:
51
ValueBase
param_width, param_height;
53
ValueBase
param_scanline, param_alpha_aware;
54
public
:
55
SuperSample
();
56
57
virtual
bool
set_param(
const
String
& param,
const
synfig::ValueBase
&value);
58
59
virtual
ValueBase
get_param(
const
String
& param)
const
;
60
61
virtual
bool
accelerated_render(
Context
context,
Surface
*surface,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
62
virtual
bool
accelerated_cairorender(
Context
context,cairo_t *cr,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
63
using
Layer::get_bounding_rect
;
64
virtual
synfig::Rect
get_bounding_rect(
Context
context)
const
;
65
66
virtual
Vocab
get_param_vocab()
const
;
67
};
68
69
/* === E N D =============================================================== */
70
71
#endif
Generated on Mon Nov 16 2015 15:33:50 for synfig-core by
1.8.1.2