summaryrefslogtreecommitdiffstats
path: root/src/graph.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-08-18 12:56:10 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-08-18 12:56:10 +0000
commit5091a24682cf37af25eebd4158a0d9480aea6252 (patch)
treed4998b172a75d207daed201225a988912485e5a9 /src/graph.php
parent94953ea4f75810e5e667425bfd55ce8d51672ee3 (diff)
downloadzetacomponents-graph-5091a24682cf37af25eebd4158a0d9480aea6252.zip
zetacomponents-graph-5091a24682cf37af25eebd4158a0d9480aea6252.tar.gz
- Started refactoring of font configuration
# - The next iteration will enable you to use the different font rendering # methods from ext/GD
Diffstat (limited to 'src/graph.php')
-rw-r--r--src/graph.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graph.php b/src/graph.php
index 0b9cff3..f0a652b 100644
--- a/src/graph.php
+++ b/src/graph.php
@@ -33,6 +33,16 @@ class ezcGraph
const PIE = 1;
const LINE = 2;
const BAR = 3;
+
+ // native TTF font
+ const TTF_FONT = 1;
+ // PostScript Type1 fonts
+ const PS_FONT = 2;
+ // FreeType 2 fonts
+ const FT2_FONT = 3;
+ // Native GD bitmap fonts
+ const GD_FONT = 4;
+
}
?>
OpenPOWER on IntegriCloud