API Documentation
Loading...
Searching...
No Matches
CADTextWriteModifier.h
Go to the documentation of this file.
1#pragma once
3#if NDEVR_TEXT_MODEL
6namespace NDEVR
7{
8 class Model;
9 struct CADGeometryWriter;
10 class DXFTableWriteIterator;
11 class DXFBlockWriter;
12 /**--------------------------------------------------------------------------------------------------
13 \brief Intercepts and handles writing Text objects as CAD entities.
14 **/
15 class CADTextWriteModifier : public CADWriteModifier
16 {
17 public:
18 bool canHandleBlock(const Model& model) final override;
19 ModelIterator::ParseResult handleBlock(const Model& model, DXFTableWriteIterator& options) final override;
20 ModelIterator::ParseResult handleBlock(const Model&, DXFBlockWriter&) final override;
21 bool canHandleInsert(const Model& model) final override;
22 void handleInsert(const Matrix<fltp08>& parent_transform, const Model& model, uint04 parent_handle, DXFBlockWriter& options) final override;
23 void handleInsert(const Matrix<fltp08>&, const Model&, uint04, CADGeometryWriter&) final override;
24 public:
25 static void WriteText(DXFWriter& writer, const Matrix<fltp08>& tr, const Text& text, uint04 handle, uint04 parent_handle);
26 };
27}
28#endif
Definition ACIColor.h:37