Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • File List
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OnionSkinSubPainter Class Reference

A Sub Painter class is meant to be used in existing painter classes It does not and should not cary the same responsibility as a Painter class It works as a sort of utility class for functionality that makes sense to reuse Eg. More...

#include <onionskinsubpainter.h>

Public Member Functions

void paint (QPainter &painter, const Layer *layer, const OnionSkinPainterOptions &options, int frameIndex, const std::function< void(OnionSkinPaintState, int)> &state) const
 

Detailed Description

A Sub Painter class is meant to be used in existing painter classes It does not and should not cary the same responsibility as a Painter class It works as a sort of utility class for functionality that makes sense to reuse Eg.

OnionSkinSubPainter is used by CanvasPainter and CameraPainter

Definition at line 31 of file onionskinsubpainter.h.

Constructor & Destructor Documentation

◆ OnionSkinSubPainter()

OnionSkinSubPainter::OnionSkinSubPainter ( )
explicit

Definition at line 24 of file onionskinsubpainter.cpp.

Member Function Documentation

◆ paint()

void OnionSkinSubPainter::paint ( QPainter &  painter,
const Layer *  layer,
const OnionSkinPainterOptions &  options,
int  frameIndex,
const std::function< void(OnionSkinPaintState, int)> &  state 
) const

Definition at line 28 of file onionskinsubpainter.cpp.


The documentation for this class was generated from the following files:
  • core_lib/src/onionskinsubpainter.h
  • core_lib/src/onionskinsubpainter.cpp
Generated on Thu May 8 2025 04:47:54 for Pencil2D by doxygen 1.9.6 based on revision 4513250b1d5b1a3676ec0e67b06b7a885ceaae39