Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::dxf::Line Struct Reference

Represents a DXF LINE entity. More...

#include <Entities.h>

Inheritance diagram for sf::dxf::Line:
[legend]
Collaboration diagram for sf::dxf::Line:
[legend]

Public Member Functions

 Line (const QPointF &start, const QPointF &end, const QString &layer_name, const QColor &color)
 Constructs a Line entity.
Public Member Functions inherited from sf::dxf::Entity
 Entity (Type type, const QString &layer_name, const QColor &color)
 Constructs a DxfEntity object.
virtual ~Entity ()=default
 Virtual destructor for proper polymorphic cleanup.

Public Attributes

QPointF _startPoint
QPointF _endPoint
Public Attributes inherited from sf::dxf::Entity
Type _type
QString _layerName
QColor _color
 Color of the entity, derived from layer or entity itself.

Additional Inherited Members

Public Types inherited from sf::dxf::Entity
enum  Type {
  etLine , etPolyline , etCircle , etArc ,
  etUnknown
}
 Enumeration of supported DXF entity types. More...

Detailed Description

Represents a DXF LINE entity.

Constructor & Destructor Documentation

◆ Line()

sf::dxf::Line::Line ( const QPointF & start,
const QPointF & end,
const QString & layer_name,
const QColor & color )
inline

Constructs a Line entity.

Parameters
startThe starting point of the line.
endThe ending point of the line.
layer_nameThe name of the layer.
colorThe color of the line.

Member Data Documentation

◆ _endPoint

QPointF sf::dxf::Line::_endPoint

◆ _startPoint

QPointF sf::dxf::Line::_startPoint

The documentation for this struct was generated from the following file: