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

Search Toolkit Book for Line

#include <gui/print/svg.hpp>

+ Inheritance diagram for Line:
+ Collaboration diagram for Line:

Public Member Functions

 Line (CVect2< float > const &start_point, CVect2< float > const &end_point, Stroke const &stroke=Stroke(), std::string const &clip_path_id=std::string())
 
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_StartPoint
 
CVect2< float > m_EndPoint
 

Additional Inherited Members

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

Detailed Description

Definition at line 431 of file svg.hpp.

Constructor & Destructor Documentation

◆ Line()

Line::Line ( CVect2< float > const start_point,
CVect2< float > const end_point,
Stroke const stroke = Stroke(),
std::string const clip_path_id = std::string() 
)
inline

Definition at line 434 of file svg.hpp.

Member Function Documentation

◆ Serialize()

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

Member Data Documentation

◆ m_EndPoint

CVect2<float> Line::m_EndPoint
private

Definition at line 449 of file svg.hpp.

Referenced by Serialize().

◆ m_StartPoint

CVect2<float> Line::m_StartPoint
private

Definition at line 448 of file svg.hpp.

Referenced by Serialize().


The documentation for this class was generated from the following file:
Modified on Mon Jul 15 05:32:58 2024 by modify_doxy.py rev. 669887