clan::GlyphMetrics Class Reference - ClanLib SDK
Description: clan::GlyphMetrics Class Reference

Public Member Functions | Public Attributes | List of all members
clan::GlyphMetrics Class Reference
clanDisplay Font

Glyph metrics class. More...

`#include <glyph_metrics.h>`

## Public Member Functions
| GlyphMetrics ()
| GlyphMetrics (const Pointf &bbox_offset, const Sizef &bbox_size, const Sizef &advance)

## Public Attributes
Sizef | advance
| Distance the write cursor is moved.
Pointf | bbox_offset
| Bounding box offset relative to the write cursor position.
Sizef | bbox_size
| Bounding box size The bounding box is the smallest rectangle that completely encloses the glyph.

## Detailed Description

Glyph metrics class.

## Constructor & Destructor Documentation

## ◆ GlyphMetrics() [1/2]

clan::GlyphMetrics::GlyphMetrics | ( |  | ) |
| inline

## ◆ GlyphMetrics() [2/2]

clan::GlyphMetrics::GlyphMetrics | ( | const Pointf & | bbox_offset,
|  | const Sizef & | bbox_size,
|  | const Sizef & | advance )
| inline

## Member Data Documentation

## ◆ advance

Sizef clan::GlyphMetrics::advance

Distance the write cursor is moved.

## ◆ bbox_offset

Pointf clan::GlyphMetrics::bbox_offset

Bounding box offset relative to the write cursor position.

## ◆ bbox_size

Sizef clan::GlyphMetrics::bbox_size

Bounding box size The bounding box is the smallest rectangle that completely encloses the glyph.

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

- glyph_metrics.h