Swiftray  1.0
CacheStack::Cache Class Reference

#include <cache-stack.h>

Public Types

enum class  Type {
  SelectedPaths , NonSelectedPaths , SelectedFilledPaths , NonSelectedFilledPaths ,
  Bitmap , Group
}
 

Public Member Functions

 Cache (CacheStack *stack, Type type)
 
void addShape (Shape *shape)
 
void cacheFill ()
 
void fill (QPainter *painter, const QPen &pen)
 
void merge (const QTransform &global_transform)
 
const QList< Shape * > & shapes () const
 
void stroke (QPainter *painter, const QPen &pen)
 
Cache::Type type () const
 

Member Enumeration Documentation

◆ Type

Enumerator
SelectedPaths 
NonSelectedPaths 
SelectedFilledPaths 
NonSelectedFilledPaths 
Bitmap 
Group 

Constructor & Destructor Documentation

◆ Cache()

CacheStack::Cache::Cache ( CacheStack stack,
Type  type 
)

Member Function Documentation

◆ addShape()

void CacheStack::Cache::addShape ( Shape shape)

◆ cacheFill()

void CacheStack::Cache::cacheFill ( )

◆ fill()

void CacheStack::Cache::fill ( QPainter *  painter,
const QPen &  pen 
)

◆ merge()

void CacheStack::Cache::merge ( const QTransform &  global_transform)

◆ shapes()

const QList< Shape * > & CacheStack::Cache::shapes ( ) const

◆ stroke()

void CacheStack::Cache::stroke ( QPainter *  painter,
const QPen &  pen 
)

◆ type()

CacheType CacheStack::Cache::type ( ) const

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