NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
Text Class Reference

Search Toolkit Book for Text

#include <gui/print/svg.hpp>

+ Inheritance diagram for Text:
+ Collaboration diagram for Text:

Public Member Functions

 Text (CVect2< float > const &origin, std::string const &text, Font const &font, Fill const &fill=Fill(), std::string const &clip_path_id=std::string(), double angle=0.0)
 
virtual void Serialize (std::ostream &ostrm) const
 
- Public Member Functions inherited from Primitive
 Primitive (Fill const &fill=Fill(), Stroke const &stroke=Stroke(), std::string const &clip_path_id=std::string())
 
- Public Member Functions inherited from ISerializeable
virtual ~ISerializeable ()=default
 

Private Attributes

CVect2< float > m_Origin
 
std::string m_Text
 
double m_Angle
 
Font m_Font
 

Additional Inherited Members

- Protected Attributes inherited from Primitive
Fill m_Fill
 
Stroke m_Stroke
 
std::string m_ClipPathId
 

Detailed Description

Definition at line 497 of file svg.hpp.

Constructor & Destructor Documentation

◆ Text()

Text::Text ( CVect2< float > const origin,
std::string const text,
Font const font,
Fill const fill = Fill(),
std::string const clip_path_id = std::string(),
double  angle = 0.0 
)
inline

Definition at line 500 of file svg.hpp.

Member Function Documentation

◆ Serialize()

virtual void Text::Serialize ( std::ostream &  ostrm) const
inlinevirtual

Member Data Documentation

◆ m_Angle

double Text::m_Angle
private

Definition at line 519 of file svg.hpp.

Referenced by Serialize().

◆ m_Font

Font Text::m_Font
private

Definition at line 520 of file svg.hpp.

Referenced by Serialize().

◆ m_Origin

CVect2<float> Text::m_Origin
private

Definition at line 517 of file svg.hpp.

Referenced by Serialize().

◆ m_Text

std::string Text::m_Text
private

Definition at line 518 of file svg.hpp.

Referenced by Serialize().


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:33 2024 by modify_doxy.py rev. 669887