Logo Search packages:      
Sourcecode: yudit version File versions

SFontImpl Class Reference

#include <SFontImpl.h>

Inheritance diagram for SFontImpl:


List of all members.

Detailed Description

Yudit Unicode Editor Source File

GNU Copyright (C) 2003 Gaspar Sinai <gsinai@yudit.org> GNU Copyright (C) 2002 Gaspar Sinai <gsinai@yudit.org> GNU Copyright (C) 2001 Gaspar Sinai <gsinai@yudit.org> GNU Copyright (C) 2000 Gaspar Sinai <gsinai@yudit.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, dated June 1991. See file COPYYING for details.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

: Gaspar Sinai <gsinai@yudit.org>
: 2000-04-23 This is the abstract widget toolkit font package

Definition at line 40 of file SFontImpl.h.

Public Member Functions

double ascent () const
virtual SObjectclone () const
double descent () const
bool draw (SCanvas *canvas, const SPen &pen, const SS_Matrix2D &matrix, SS_UCS4 uch)
double gap () const
bool isLeftAligned (SS_UCS4 uch) const
 Try to make a fuzzy guess if we need to align the diacritics to the left or to the right. left aligned marks will be rendered this way: x----basewith----x x-markwidth-x right aligned marks will be rendered this way: x----basewith----x x-markwidth-x.
bool isLR () const
bool isRL () const
bool isTTF () const
SFontImpl operator= (const SFontImpl &ff)
void scale (double x, double y)
void setAttributes (const SProperties &properties)
 SFontImpl (const SFontImpl &ff)
 SFontImpl (const SString &name, const SString &encoding)
double width () const
bool width (SS_UCS4 uch, double *width)

Static Public Member Functions

static void guessPath ()
static void guessPath (const SStringVector &files, const SString &property)
static void setBase (SS_UCS4 base)
static void setPath (const SStringVector &path)

Private Member Functions

void createSaneXLFD ()

Private Attributes

void * delegate
SString encoding
bool lrFont
SS_Matrix2D matrix
SString name
bool rlFont
SString xlfd

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

Generated by  Doxygen 1.6.0   Back to index