Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
SEntityText Struct Referencefinal

#include <CDxf.hpp>

Inheritance diagram for SEntityText:
[legend]
Collaboration diagram for SEntityText:
[legend]

Public Member Functions

 SEntityText (const std::string &nameLayer, const std::string &text, double x, double y, double z, double height, unsigned char justify, double angle, uint64_t colorIndex, bool isColorRGB, int64_t lineWidth, double Nx, double Ny, double Nz)
 
 ~SEntityText () override=default
 
void drawEntity (uint64_t colorBlocRGB, int64_t lineWidthBlock, std::vector< SBlockDxf * > *blocks, const std::vector< SLayerDxf * > *layers, IGraphics *graphics)
 
void setColorARGB (iv::types::color colorARGB)
 
bool isLayer (const std::string &nameLayer) const
 

Public Attributes

std::string m_text
 
double m_x
 
double m_y
 
double m_z
 
double m_height
 
unsigned char m_justify
 
double m_angleGrd
 

Private Member Functions

void draw (IGraphics *graphics) const override
 
void processEntityGeoBlock (CGeoBlock *currentGeoBlock, std::vector< SBlockDxf * > *blocks, SProcessEntitiesGeoBlocks *dataProcess) const override
 
void processEntityPolyline (const std::vector< SBlockDxf * > *blocks, SProcessEntitiesPolylines *dataProcess, const std::string &nameLayerOpt) const override
 

Private Attributes

uint64_t m_colorIndex
 
std::string m_nameLayer
 
bool m_isAttributedCalculated
 
bool m_isColorRGB
 
iv::types::color m_colorARGBCalculated
 
bool m_isVisibleByLayer
 
double m_Nx
 
double m_Ny
 
double m_Nz
 
int64_t m_lineWidth
 
bool m_hasLineWidthCalculated
 
int64_t m_lineWidthCalculated
 

Constructor & Destructor Documentation

◆ SEntityText()

SEntityText::SEntityText ( const std::string & nameLayer,
const std::string & text,
double x,
double y,
double z,
double height,
unsigned char justify,
double angle,
uint64_t colorIndex,
bool isColorRGB,
int64_t lineWidth,
double Nx,
double Ny,
double Nz )

◆ ~SEntityText()

SEntityText::~SEntityText ( )
overridedefault

Member Function Documentation

◆ draw()

void SEntityText::draw ( IGraphics * graphics) const
overrideprivatevirtual

Implements SEntity.

◆ drawEntity()

void SEntity::drawEntity ( uint64_t colorBlocRGB,
int64_t lineWidthBlock,
std::vector< SBlockDxf * > * blocks,
const std::vector< SLayerDxf * > * layers,
IGraphics * graphics )
inherited

◆ isLayer()

bool SEntity::isLayer ( const std::string & nameLayer) const
nodiscardinherited

◆ processEntityGeoBlock()

void SEntityText::processEntityGeoBlock ( CGeoBlock * currentGeoBlock,
std::vector< SBlockDxf * > * blocks,
SProcessEntitiesGeoBlocks * dataProcess ) const
overrideprivatevirtual

Implements SEntity.

◆ processEntityPolyline()

void SEntityText::processEntityPolyline ( const std::vector< SBlockDxf * > * blocks,
SProcessEntitiesPolylines * dataProcess,
const std::string & nameLayerOpt ) const
overrideprivatevirtual

Implements SEntity.

◆ setColorARGB()

void SEntity::setColorARGB ( iv::types::color colorARGB)
inherited

Member Data Documentation

◆ m_angleGrd

double SEntityText::m_angleGrd

◆ m_colorARGBCalculated

iv::types::color SEntity::m_colorARGBCalculated
privateinherited

◆ m_colorIndex

uint64_t SEntity::m_colorIndex
privateinherited

◆ m_hasLineWidthCalculated

bool SEntity::m_hasLineWidthCalculated
privateinherited

◆ m_height

double SEntityText::m_height

◆ m_isAttributedCalculated

bool SEntity::m_isAttributedCalculated
privateinherited

◆ m_isColorRGB

bool SEntity::m_isColorRGB
privateinherited

◆ m_isVisibleByLayer

bool SEntity::m_isVisibleByLayer
privateinherited

◆ m_justify

unsigned char SEntityText::m_justify

◆ m_lineWidth

int64_t SEntity::m_lineWidth
privateinherited

◆ m_lineWidthCalculated

int64_t SEntity::m_lineWidthCalculated
privateinherited

◆ m_nameLayer

std::string SEntity::m_nameLayer
privateinherited

◆ m_Nx

double SEntity::m_Nx
privateinherited

◆ m_Ny

double SEntity::m_Ny
privateinherited

◆ m_Nz

double SEntity::m_Nz
privateinherited

◆ m_text

std::string SEntityText::m_text

◆ m_x

double SEntityText::m_x

◆ m_y

double SEntityText::m_y

◆ m_z

double SEntityText::m_z

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