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
3Pencil2D - Traditional Animation Software
4Copyright (C) 2012-2020 Matthew Chiawen Chang
5
6This program is free software; you can redistribute it and/or
7modify it under the terms of the GNU General Public License
8as published by the Free Software Foundation; version 2 of the License.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU 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
23class Layer;
24struct OnionSkinPainterOptions;
25class QPainter;
26
31class OnionSkinSubPainter
32{
33public:
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
Generated on Thu May 8 2025 04:47:53 for Pencil2D by doxygen 1.9.6 based on revision 4513250b1d5b1a3676ec0e67b06b7a885ceaae39