PHP Doku:: The CairoHintStyle class - class.cairohintstyle.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungCairoThe CairoHintStyle class

Ein Service von Reinhard Neidl - Webprogrammierung.


<<The CairoHintMetrics class

The CairoLineCap class>>

The CairoHintStyle class


Specifies the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends.


CairoHintStyle {
/* Konstanten */
const integer CairoHintStyle::STYLE_DEFAULT = 0 ;
const integer CairoHintStyle::STYLE_NONE = 1 ;
const integer CairoHintStyle::STYLE_SLIGHT = 2 ;
const integer CairoHintStyle::STYLE_MEDIUM = 3 ;
const integer CairoHintStyle::STYLE_FULL = 4 ;

Vordefinierte Konstanten

CairoHintStyle Node Types


Use the default hint style for font backend and target device


Do not hint outlines


Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.


Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast


Hint outlines to maximize contrast

Keine BenutzerBeiträge.
- Beiträge aktualisieren...

PHP Powered Diese Seite bei
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)