KOSMIndoorMap::PolygonItem
KOSMIndoorMap::PolygonItem Class Reference
#include <scenegraphitem.h>
Inheritance diagram for KOSMIndoorMap::PolygonItem:

Public Member Functions | |
QRectF | boundingRect () const override |
![]() | |
uint8_t | renderPhases () const override |
![]() | |
bool | inHUDSpace () const |
bool | inSceneSpace () const |
Public Attributes | |
QPolygonF | polygon |
![]() | |
QBrush | brush = Qt::NoBrush |
QPen | pen |
Unit | penWidthUnit = Unit::Pixel |
![]() | |
int | z = 0 |
Additional Inherited Members | |
![]() | |
enum | RenderPhase : uint8_t { NoPhase = 0, FillPhase = 1, CasingPhase = 2, StrokePhase = 4, LabelPhase = 8 } |
Detailed Description
A single filled polygon.
Definition at line 115 of file scenegraphitem.h.
Member Function Documentation
◆ boundingRect()
|
overridevirtual |
Bounding box of this item in scene coordinates.
Performance trumps precision here, so estimating this slightly larger rather than computing it expensively makes sense.
Implements KOSMIndoorMap::SceneGraphItemPayload.
Definition at line 42 of file scenegraphitem.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:06:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:06:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.