Krita Source Code Documentation
Loading...
Searching...
No Matches
KisInterstrokeDataFactory Class Referenceabstract

#include <KisInterstrokeDataFactory.h>

+ Inheritance diagram for KisInterstrokeDataFactory:

Public Member Functions

virtual KisInterstrokeDatacreate (KisPaintDeviceSP device)=0
 
virtual bool isCompatible (KisInterstrokeData *data)=0
 
virtual ~KisInterstrokeDataFactory ()
 

Detailed Description

A factory class for creation KisInterstrokeData by paint tools

The main purpose for the factory is to check if the currently attached interstroke data is compatible with the current tool and replace it with the new one if needed.

See also
KisInterstrokeData

Definition at line 24 of file KisInterstrokeDataFactory.h.

Constructor & Destructor Documentation

◆ ~KisInterstrokeDataFactory()

KisInterstrokeDataFactory::~KisInterstrokeDataFactory ( )
virtual

Definition at line 9 of file KisInterstrokeDataFactory.cpp.

10{
11
12}

Member Function Documentation

◆ create()

virtual KisInterstrokeData * KisInterstrokeDataFactory::create ( KisPaintDeviceSP device)
pure virtual

◆ isCompatible()

virtual bool KisInterstrokeDataFactory::isCompatible ( KisInterstrokeData * data)
pure virtual

The documentation for this class was generated from the following files: