Debian Codegraph @

gdk/quartz/gdkfont-quartz.c

raw
1 /* gdkwindow-quartz.c
2 *
3 * Copyright (C) 2005 Imendio AB
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 */
20
21
22 #include "config.h"
23
24 #include "gdkfont.h"
25
26 GdkFont*
27 gdk_font_load_for_display (GdkDisplay *display,
28 const gchar *font_name)
29 {
30 /* FIXME: Implement */
31 return NULL;
32 }
33
34 GdkFont*
35 gdk_font_from_description_for_display (GdkDisplay *display,
36 PangoFontDescription *desc)
37 {
38 /* FIXME: Implement */
39 return NULL;
40 }
41
42 GdkFont *
43 gdk_fontset_load_for_display (GdkDisplay *display,
44 const gchar *fontset_name)
45 {
46 return NULL;
47 }
48
49 GdkFont*
50 gdk_fontset_load (const gchar *fontset_name)
51 {
52 return NULL;
53 }
54
55 gint
56 gdk_text_width (GdkFont *font,
57 const gchar *text,
58 gint text_length)
59 {
60 /* FIXME: Implement */
61 return -1;
62 }
63
64 void
65 gdk_text_extents (GdkFont *font,
66 const gchar *text,
67 gint text_length,
68 gint *lbearing,
69 gint *rbearing,
70 gint *width,
71 gint *ascent,
72 gint *descent)
73 {
74 /* FIXME: Implement */
75 }
76
77 gint
78 gdk_text_width_wc (GdkFont *font,
79 const GdkWChar *text,
80 gint text_length)
81 {
82 /* FIXME: Implement */
83 return 0;
84 }
85
86
87 void
88 gdk_text_extents_wc (GdkFont *font,
89 const GdkWChar *text,
90 gint text_length,
91 gint *lbearing,
92 gint *rbearing,
93 gint *width,
94 gint *ascent,
95 gint *descent)
96 {
97 /* FIXME: Implement */
98 }
99
100 void
101 _gdk_font_destroy (GdkFont *font)
102 {
103 /* FIXME: Implement */
104 }
105
106 gint
107 _gdk_font_strlen (GdkFont *font,
108 const gchar *str)
109 {
110 /* FIXME: Implement */
111 return -1;
112 }
113
114 gint
115 gdk_font_id (const GdkFont *font)
116 {
117 /* FIXME: Implement */
118 return 0;
119 }
120
121 gboolean
122 gdk_font_equal (const GdkFont *fonta,
123 const GdkFont *fontb)
124 {
125 /* FIXME: Implement */
126 return FALSE;
127 }
128
129 GdkDisplay*
130 gdk_font_get_display (GdkFont* font)
131 {
132 /* FIXME: Implement */
133 return NULL;
134 }