NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
Primitive Class Reference

Search Toolkit Book for Primitive

#include <gui/print/svg.hpp>

+ Inheritance diagram for Primitive:
+ Collaboration diagram for Primitive:

Public Member Functions

 Primitive (Fill const &fill=Fill(), Stroke const &stroke=Stroke(), std::string const &clip_path_id=std::string())
virtual void Serialize (std::ostream &ostrm) const
- Public Member Functions inherited from ISerializeable
virtual ~ISerializeable ()=default

Protected Attributes

Fill m_Fill
Stroke m_Stroke
std::string m_ClipPathId

Detailed Description

Definition at line 387 of file svg.hpp.

Constructor & Destructor Documentation

◆ Primitive()

Primitive::Primitive ( Fill const fill = Fill(),
Stroke const stroke = Stroke(),
std::string const clip_path_id = std::string() 

Definition at line 390 of file svg.hpp.

References m_ClipPathId.

Member Function Documentation

◆ Serialize()

virtual void Primitive::Serialize ( std::ostream &  ostrm) const

Implements ISerializeable.

Reimplemented in SVG, Text, Polygon, Polyline, Line, and Circle.

Definition at line 397 of file svg.hpp.

References m_ClipPathId.

Referenced by Circle::Serialize(), Line::Serialize(), Polyline::Serialize(), Polygon::Serialize(), and Text::Serialize().

Member Data Documentation

◆ m_ClipPathId

std::string Primitive::m_ClipPathId

Definition at line 407 of file svg.hpp.

Referenced by Primitive(), and Serialize().

◆ m_Fill

Fill Primitive::m_Fill

◆ m_Stroke

Stroke Primitive::m_Stroke

The documentation for this class was generated from the following file:
Modified on Mon Jun 24 05:21:30 2024 by rev. 669887