text Struct Reference
Inheritance diagram for text:
Collaboration diagram for text:

Public Member Functions

 text (const string text, const label left, const label top, const std::initializer_list< entryType > &styles={}, const word anchor="middle", const std::initializer_list< entryType > &elems={})
 
- Public Member Functions inherited from element
 element (const word &key, const std::initializer_list< entryType > &styles={}, const std::initializer_list< entryType > &elems={})
 
template<class Type >
void addAttr (const char *key, const Type &value)
 
void addAttrStr (const char *key, const string &str)
 

Public Attributes

const string text_
 
- Public Attributes inherited from element
const word key_
 
DynamicList< entryTypestyles_
 
DynamicList< entryTypeelems_
 
const word end = "</" + key_ + ">"
 

Friends

Ostreamoperator<< (Ostream &os, const text &t)
 

Detailed Description

Definition at line 116 of file SVGTools.H.

Constructor & Destructor Documentation

◆ text()

text ( const string  text,
const label  left,
const label  top,
const std::initializer_list< entryType > &  styles = {},
const word  anchor = "middle",
const std::initializer_list< entryType > &  elems = {} 
)
inline

Definition at line 123 of file SVGTools.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const text t 
)
friend

Definition at line 145 of file SVGTools.H.

Member Data Documentation

◆ text_

const string text_

Definition at line 120 of file SVGTools.H.

Referenced by Foam::SVG::operator<<().


The documentation for this struct was generated from the following file: