KOSMIndoorMap::PolygonBaseItem

Search for usage in LXR

KOSMIndoorMap::PolygonBaseItem Class Reference

#include <scenegraphitem.h>

Inheritance diagram for KOSMIndoorMap::PolygonBaseItem:

Public Member Functions

uint8_t renderPhases () const override
 
bool useCasingFillMode () const
 
- Public Member Functions inherited from KOSMIndoorMap::SceneGraphItemPayload
virtual QRectF boundingRect (const View *view) const =0
 
bool inHUDSpace () const
 
bool inSceneSpace () const
 

Public Attributes

QPen casingPen
 
Unit casingPenWidthUnit = Unit::Pixel
 
QBrush fillBrush = Qt::NoBrush
 
QPen pen
 
Unit penWidthUnit = Unit::Pixel
 
QBrush textureBrush = Qt::NoBrush
 
- Public Attributes inherited from KOSMIndoorMap::SceneGraphItemPayload
int z = 0
 

Additional Inherited Members

- Public Types inherited from KOSMIndoorMap::SceneGraphItemPayload
enum  RenderPhase : uint8_t {
  NoPhase = 0 , FillPhase = 1 , CasingPhase = 2 , StrokePhase = 4 ,
  IconPhase = 8 , LabelPhase = 16
}
 

Detailed Description

Base item for filled polygons.

Definition at line 106 of file scenegraphitem.h.

Member Function Documentation

◆ renderPhases()

uint8_t PolygonBaseItem::renderPhases ( ) const
nodiscardoverridevirtual

Returns in which phase this item needs to be rendered (can be multiple).

Implements KOSMIndoorMap::SceneGraphItemPayload.

Definition at line 59 of file scenegraphitem.cpp.

◆ useCasingFillMode()

bool PolygonBaseItem::useCasingFillMode ( ) const
nodiscard

Render like lines, ie casing and filling in the stroke phase, rather than the default.

Definition at line 68 of file scenegraphitem.cpp.

Member Data Documentation

◆ casingPen

QPen KOSMIndoorMap::PolygonBaseItem::casingPen

Definition at line 117 of file scenegraphitem.h.

◆ casingPenWidthUnit

Unit KOSMIndoorMap::PolygonBaseItem::casingPenWidthUnit = Unit::Pixel

Definition at line 119 of file scenegraphitem.h.

◆ fillBrush

QBrush KOSMIndoorMap::PolygonBaseItem::fillBrush = Qt::NoBrush

Definition at line 114 of file scenegraphitem.h.

◆ pen

QPen KOSMIndoorMap::PolygonBaseItem::pen

Definition at line 116 of file scenegraphitem.h.

◆ penWidthUnit

Unit KOSMIndoorMap::PolygonBaseItem::penWidthUnit = Unit::Pixel

Definition at line 118 of file scenegraphitem.h.

◆ textureBrush

QBrush KOSMIndoorMap::PolygonBaseItem::textureBrush = Qt::NoBrush

Definition at line 115 of file scenegraphitem.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.