Seamly2D
Code documentation
NonScalingFillPathItem Class Reference

#include <nonscalingfill_pathitem.h>

Inheritance diagram for NonScalingFillPathItem:
Collaboration diagram for NonScalingFillPathItem:

Public Member Functions

 NonScalingFillPathItem (QGraphicsItem *parent=nullptr)
 

Protected Types

enum  { Type = UserType + static_cast<int>(Vis::NoBrush) }
 

Protected Member Functions

virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) Q_DECL_OVERRIDE
 
virtual int type () const Q_DECL_OVERRIDE
 

Detailed Description

Definition at line 62 of file nonscalingfill_pathitem.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
Type 

Definition at line 72 of file nonscalingfill_pathitem.h.

Constructor & Destructor Documentation

◆ NonScalingFillPathItem()

NonScalingFillPathItem::NonScalingFillPathItem ( QGraphicsItem *  parent = nullptr)
explicit

Definition at line 60 of file nonscalingfill_pathitem.cpp.

Member Function Documentation

◆ paint()

void NonScalingFillPathItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = nullptr 
)
protectedvirtual

Definition at line 66 of file nonscalingfill_pathitem.cpp.

◆ type()

virtual int NonScalingFillPathItem::type ( ) const
inlineprotectedvirtual

Definition at line 71 of file nonscalingfill_pathitem.h.

References Type.


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