Search for usage in LXR

KOSMIndoorMap::PolygonItem Class Reference

#include <scenegraphitem.h>

Inheritance diagram for KOSMIndoorMap::PolygonItem:

Public Member Functions

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

Public Attributes

QPolygonF polygon
- Public Attributes inherited from KOSMIndoorMap::PolygonBaseItem
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

A single filled polygon.

Definition at line 124 of file scenegraphitem.h.

Member Function Documentation

◆ boundingRect()

QRectF PolygonItem::boundingRect ( const View * view) const

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 73 of file scenegraphitem.cpp.

Member Data Documentation

◆ polygon

QPolygonF KOSMIndoorMap::PolygonItem::polygon

Definition at line 129 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 Tue Mar 26 2024 11:20:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.