libabigail
Loading...
Searching...
No Matches
typography Struct Reference

#include <abg-viz-common.h>

Public Types

enum  anchor { start , middle }

Public Member Functions

std::string anchor_to_string (anchor) const
std::string to_attribute (anchor) const

Public Attributes

std::string _M_attributes
color _M_color
std::string _M_face
unsigned short _M_size

Detailed Description

Character rendering, type, fonts, styles.

Expect to keep changing the output, so use this abstraction to set styling defaults, so that one can just assign types instead of doing a bunch of search-and-replace operations when changing type characteristics.

Definition at line 80 of file abg-viz-common.h.

Member Enumeration Documentation

◆ anchor

enum anchor

Definition at line 82 of file abg-viz-common.h.

Member Function Documentation

◆ anchor_to_string()

std::string anchor_to_string ( anchor __val) const

Definition at line 107 of file abg-viz-common.cc.

◆ to_attribute()

std::string to_attribute ( anchor __a) const

Definition at line 127 of file abg-viz-common.cc.

Member Data Documentation

◆ _M_attributes

std::string _M_attributes

Definition at line 87 of file abg-viz-common.h.

◆ _M_color

color _M_color

Definition at line 86 of file abg-viz-common.h.

◆ _M_face

std::string _M_face

Definition at line 84 of file abg-viz-common.h.

◆ _M_size

unsigned short _M_size

Definition at line 85 of file abg-viz-common.h.


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