OBFontMetrics Class Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes
OBFontMetrics Class Reference

`#include <openbabel/depict/painter.h>`

List of all members.

## Public Attributes
int | fontSize
double | ascent
double | descent
double | width
double | height

## Detailed Description

Font metrics class used by OBDepict.

Since:
  version 2.3

## Member Data Documentation

int fontSize

Referenced by OBDepict::DrawMolecule(), and CairoPainter::GetFontMetrics().

double ascent

double descent

double width

Referenced by OBDepict::DrawMolecule().

double height

Referenced by OBDepict::DrawMolecule().

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

- painter.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines