Search for usage in LXR

KOSMIndoorMap::PolylineItem Class Reference

#include <scenegraphitem.h>

Inheritance diagram for KOSMIndoorMap::PolylineItem:

Public Member Functions

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

Public Attributes

QPen casingPen
Unit casingPenWidthUnit = Unit::Pixel
QPolygonF path
QPen pen
Unit penWidthUnit = Unit::Meter
- 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 path/way/line item in the scenegraph.

Definition at line 91 of file scenegraphitem.h.

Member Function Documentation

◆ boundingRect()

QRectF PolylineItem::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 33 of file scenegraphitem.cpp.

◆ renderPhases()

uint8_t PolylineItem::renderPhases ( ) const

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

Implements KOSMIndoorMap::SceneGraphItemPayload.

Definition at line 28 of file scenegraphitem.cpp.

Member Data Documentation

◆ casingPen

QPen KOSMIndoorMap::PolylineItem::casingPen

Definition at line 99 of file scenegraphitem.h.

◆ casingPenWidthUnit

Unit KOSMIndoorMap::PolylineItem::casingPenWidthUnit = Unit::Pixel

Definition at line 101 of file scenegraphitem.h.

◆ path

QPolygonF KOSMIndoorMap::PolylineItem::path

Definition at line 97 of file scenegraphitem.h.

◆ pen

QPen KOSMIndoorMap::PolylineItem::pen

Definition at line 98 of file scenegraphitem.h.

◆ penWidthUnit

Unit KOSMIndoorMap::PolylineItem::penWidthUnit = Unit::Meter

Definition at line 100 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 Fri Jul 12 2024 12:03:15 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.