Krita Source Code Documentation
Loading...
Searching...
No Matches
KisLazyFillTools::KeyStroke Struct Reference

#include <kis_lazy_fill_tools.h>

+ Inheritance diagram for KisLazyFillTools::KeyStroke:

Public Member Functions

 KeyStroke ()
 
 KeyStroke (KisPaintDeviceSP _dev, const KoColor &_color, bool isTransparent=false)
 

Public Attributes

KoColor color
 
KisPaintDeviceSP dev
 
bool isTransparent
 

Friends

bool operator== (const KeyStroke &t1, const KeyStroke &t2)
 

Detailed Description

Definition at line 59 of file kis_lazy_fill_tools.h.

Constructor & Destructor Documentation

◆ KeyStroke() [1/2]

KisLazyFillTools::KeyStroke::KeyStroke ( )

Definition at line 170 of file kis_lazy_fill_tools.cpp.

171 : isTransparent(false)
172{
173}

◆ KeyStroke() [2/2]

KisLazyFillTools::KeyStroke::KeyStroke ( KisPaintDeviceSP _dev,
const KoColor & _color,
bool isTransparent = false )

Definition at line 175 of file kis_lazy_fill_tools.cpp.

176 : dev(_dev), color(_color), isTransparent(_isTransparent)
177{
178}

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const KeyStroke & t1,
const KeyStroke & t2 )
friend

Definition at line 180 of file kis_lazy_fill_tools.cpp.

181{
182 return
183 t1.dev == t2.dev &&
184 t1.color == t2.color &&
185 t1.isTransparent == t2.isTransparent;
186}

Member Data Documentation

◆ color

KoColor KisLazyFillTools::KeyStroke::color

Definition at line 67 of file kis_lazy_fill_tools.h.

◆ dev

KisPaintDeviceSP KisLazyFillTools::KeyStroke::dev

Definition at line 66 of file kis_lazy_fill_tools.h.

◆ isTransparent

bool KisLazyFillTools::KeyStroke::isTransparent

Definition at line 68 of file kis_lazy_fill_tools.h.


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