Loading...
Searching...
No Matches
text Struct Reference

#include <SVGTools.H>

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 122 of file SVGTools.H.

References text().

Referenced by operator<<, and text().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<<

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

Definition at line 145 of file SVGTools.H.

References element::end, os(), text(), and text_.

Member Data Documentation

◆ text_

const string text_

Definition at line 120 of file SVGTools.H.

Referenced by operator<<.


The documentation for this struct was generated from the following file:
  • src/functionObjects/utilities/graphFunctionObject/SVGTools.H