Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
Utils.h
Go to the documentation of this file.
1
2#pragma once
3#include <dxf/Entities.h>
4#include <dxf/global.h>
5
6namespace sf::dxf
7{
8
13typedef QList<QPair<QPointF, bool>> Lines;
14
22_DXF_FUNC Lines generateVertices(const Entities& entities, double density);
23
24}// namespace sf::dxf
#define _DXF_FUNC
Definition dxf/global.h:37
Definition Entities.h:10
_DXF_FUNC Lines generateVertices(const Entities &entities, double density)
Converts DXF entities to a list of 2D vertices suitable for OpenGL line strip rendering.
QList< QPair< QPointF, bool > > Lines
Type holding a point and a flag which determines if the point is the last of a line....
Definition Utils.h:13
LayerEntities::mapped_type Entities
Entities type from the map for holding entities of a layer.
Definition Entities.h:196