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

Search Toolkit Book for Pattern

#include <gui/print/svg.hpp>

+ Inheritance diagram for Pattern:
+ Collaboration diagram for Pattern:

Public Member Functions

 Pattern (std::string const &id, Image const &image, unsigned width=32, unsigned height=32, std::string const &pattern_units=string("userSpaceOnUse"))
 
virtual void Serialize (std::ostream &ostrm) const
 
- Public Member Functions inherited from ReferencePrimitive
 ReferencePrimitive (std::string const &id)
 
virtual ~ReferencePrimitive ()=default
 
- Public Member Functions inherited from ISerializeable
virtual ~ISerializeable ()=default
 

Private Attributes

Image m_Image
 
std::string m_PatternUnits
 
unsigned m_Width
 
unsigned m_Height
 

Detailed Description

Definition at line 184 of file svg.hpp.

Constructor & Destructor Documentation

◆ Pattern()

Pattern::Pattern ( std::string const id,
Image const image,
unsigned  width = 32,
unsigned  height = 32,
std::string const pattern_units = string("userSpaceOnUse") 
)
inline

Definition at line 187 of file svg.hpp.

Member Function Documentation

◆ Serialize()

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

Reimplemented from ReferencePrimitive.

Definition at line 190 of file svg.hpp.

References m_Height, m_Image, m_PatternUnits, m_Width, and ReferencePrimitive::Serialize().

Member Data Documentation

◆ m_Height

unsigned Pattern::m_Height
private

Definition at line 204 of file svg.hpp.

Referenced by Serialize().

◆ m_Image

Image Pattern::m_Image
private

Definition at line 201 of file svg.hpp.

Referenced by Serialize().

◆ m_PatternUnits

std::string Pattern::m_PatternUnits
private

Definition at line 202 of file svg.hpp.

Referenced by Serialize().

◆ m_Width

unsigned Pattern::m_Width
private

Definition at line 203 of file svg.hpp.

Referenced by Serialize().


The documentation for this class was generated from the following file:
Modified on Fri Feb 23 11:48:49 2024 by modify_doxy.py rev. 669887