aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Font.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Font.hh')
-rw-r--r--src/FbTk/Font.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/FbTk/Font.hh b/src/FbTk/Font.hh
index 32ce042..0a8f1c3 100644
--- a/src/FbTk/Font.hh
+++ b/src/FbTk/Font.hh
@@ -1,5 +1,5 @@
1// Font.cc for FbTk 1// Font.cc for FbTk
2// Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org) 2// Copyright (c) 2002-2004 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"), 5// copy of this software and associated documentation files (the "Software"),
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Font.hh,v 1.12 2004/08/31 21:24:05 fluxgen Exp $ 22//$Id: Font.hh,v 1.13 2004/09/11 22:58:20 fluxgen Exp $
23 23
24#ifndef FBTK_FONT_HH 24#ifndef FBTK_FONT_HH
25#define FBTK_FONT_HH 25#define FBTK_FONT_HH
@@ -43,6 +43,7 @@ namespace FbTk {
43void fontInit(); 43void fontInit();
44 44
45class FontImp; 45class FontImp;
46class FbDrawable;
46 47
47/** 48/**
48 Handles the client to fontimp bridge. 49 Handles the client to fontimp bridge.
@@ -92,7 +93,7 @@ public:
92 @param y position 93 @param y position
93 @param rotate if the text should be drawn rotated (if it's rotated before) 94 @param rotate if the text should be drawn rotated (if it's rotated before)
94 */ 95 */
95 void drawText(Drawable w, int screen, GC gc, 96 void drawText(const FbDrawable &w, int screen, GC gc,
96 const char *text, size_t len, 97 const char *text, size_t len,
97 int x, int y, bool rotate=true) const; 98 int x, int y, bool rotate=true) const;
98 bool isAntialias() const { return m_antialias; } 99 bool isAntialias() const { return m_antialias; }