Ipelib
Public Member Functions | List of all members
ipe::Face Class Reference

#include <ipefonts.h>

Public Member Functions

 Face (const PdfDict *d, const PdfResourceBase *resources) noexcept
 
 ~Face () noexcept
 
bool matches (const PdfDict *d) const noexcept
 
FontType type () const noexcept
 
int width (int ch) const noexcept
 
int glyphIndex (int ch) noexcept
 
cairo_font_face_t * cairoFont () noexcept
 

Detailed Description

A typeface (aka font), actually loaded (from a font file or PDF file).

Constructor & Destructor Documentation

◆ Face()

Face::Face ( const PdfDict d,
const PdfResourceBase resources 
)
noexcept

◆ ~Face()

Face::~Face ( )
noexcept

References ipe::String::z().

Member Function Documentation

◆ matches()

bool ipe::Face::matches ( const PdfDict d) const
inlinenoexcept

◆ type()

FontType ipe::Face::type ( ) const
inlinenoexcept

◆ width()

int Face::width ( int  ch) const
noexcept

References ipe::size().

◆ glyphIndex()

int Face::glyphIndex ( int  ch)
noexcept

◆ cairoFont()

cairo_font_face_t* ipe::Face::cairoFont ( )
inlinenoexcept

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