Pencil2D Animation
Download
Community
News
Docs
Contribute
Overview
Articles
Code
Class List
Class Index
Class Hierarchy
Class Members
File List
Loading...
Searching...
No Matches
core_lib
src
onionskinsubpainter.h
1
/*
2
3
Pencil2D - Traditional Animation Software
4
Copyright (C) 2012-2020 Matthew Chiawen Chang
5
6
This program is free software; you can redistribute it and/or
7
modify it under the terms of the GNU General Public License
8
as published by the Free Software Foundation; version 2 of the License.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
*/
16
#ifndef ONIONSKINSUBPAINTER_H
17
#define ONIONSKINSUBPAINTER_H
18
19
#include <functional>
20
21
#include "onionskinpaintstate.h"
22
23
class
Layer
;
24
struct
OnionSkinPainterOptions
;
25
class
QPainter
;
26
31
class
OnionSkinSubPainter
32
{
33
public
:
34
explicit
OnionSkinSubPainter
();
35
void
paint(
QPainter
& painter,
const
Layer
* layer,
const
OnionSkinPainterOptions
& options,
int
frameIndex,
const
std::function<
void
(OnionSkinPaintState,
int
)>& state)
const
;
36
};
37
38
#endif
// ONIONSKINSUBPAINTER_H
Layer
Definition:
layer.h:33
OnionSkinSubPainter
A Sub Painter class is meant to be used in existing painter classes It does not and should not cary t...
Definition:
onionskinsubpainter.h:32
QPainter
OnionSkinPainterOptions
Definition:
onionskinpainteroptions.h:20