VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.18.0/dixfont.h@ 68753

最後變更 在這個檔案從68753是 58634,由 vboxsync 提交於 9 年 前

Additions/x11: added header files for building X.Org video driver against X.Org Server 1.18.

  • 屬性 svn:eol-style 設為 native
檔案大小: 4.4 KB
 
1/***********************************************************
2Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
3
4 All Rights Reserved
5
6Permission to use, copy, modify, and distribute this software and its
7documentation for any purpose and without fee is hereby granted,
8provided that the above copyright notice appear in all copies and that
9both that copyright notice and this permission notice appear in
10supporting documentation, and that the name of Digital not be
11used in advertising or publicity pertaining to distribution of the
12software without specific, written prior permission.
13
14DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20SOFTWARE.
21
22******************************************************************/
23
24#ifndef DIXFONT_H
25#define DIXFONT_H 1
26
27#include "dix.h"
28#include <X11/fonts/font.h>
29#include "closure.h"
30#include <X11/fonts/fontstruct.h>
31#include <X11/fonts/fontproto.h>
32#include <X11/fonts/fontutil.h>
33
34#define NullDIXFontProp ((DIXFontPropPtr)0)
35
36typedef struct _DIXFontProp *DIXFontPropPtr;
37
38extern _X_EXPORT Bool SetDefaultFont(const char * /*defaultfontname */ );
39
40extern _X_EXPORT int OpenFont(ClientPtr /*client */ ,
41 XID /*fid */ ,
42 Mask /*flags */ ,
43 unsigned /*lenfname */ ,
44 const char * /*pfontname */ );
45
46extern _X_EXPORT int CloseFont(void *pfont,
47 XID fid);
48
49typedef struct _xQueryFontReply *xQueryFontReplyPtr;
50
51extern _X_EXPORT void QueryFont(FontPtr /*pFont */ ,
52 xQueryFontReplyPtr /*pReply */ ,
53 int /*nProtoCCIStructs */ );
54
55extern _X_EXPORT int ListFonts(ClientPtr /*client */ ,
56 unsigned char * /*pattern */ ,
57 unsigned int /*length */ ,
58 unsigned int /*max_names */ );
59
60extern _X_EXPORT int PolyText(ClientPtr /*client */ ,
61 DrawablePtr /*pDraw */ ,
62 GCPtr /*pGC */ ,
63 unsigned char * /*pElt */ ,
64 unsigned char * /*endReq */ ,
65 int /*xorg */ ,
66 int /*yorg */ ,
67 int /*reqType */ ,
68 XID /*did */ );
69
70extern _X_EXPORT int ImageText(ClientPtr /*client */ ,
71 DrawablePtr /*pDraw */ ,
72 GCPtr /*pGC */ ,
73 int /*nChars */ ,
74 unsigned char * /*data */ ,
75 int /*xorg */ ,
76 int /*yorg */ ,
77 int /*reqType */ ,
78 XID /*did */ );
79
80extern _X_EXPORT int SetFontPath(ClientPtr /*client */ ,
81 int /*npaths */ ,
82 unsigned char * /*paths */ );
83
84extern _X_EXPORT int SetDefaultFontPath(const char * /*path */ );
85
86extern _X_EXPORT int GetFontPath(ClientPtr client,
87 int *count,
88 int *length, unsigned char **result);
89
90extern _X_EXPORT void DeleteClientFontStuff(ClientPtr /*client */ );
91
92/* Quartz support on Mac OS X pulls in the QuickDraw
93 framework whose InitFonts function conflicts here. */
94#ifdef __APPLE__
95#define InitFonts Darwin_X_InitFonts
96#endif
97extern _X_EXPORT void InitFonts(void);
98
99extern _X_EXPORT void FreeFonts(void);
100
101extern _X_EXPORT FontPtr find_old_font(XID /*id */ );
102
103#define GetGlyphs dixGetGlyphs
104extern _X_EXPORT void dixGetGlyphs(FontPtr /*font */ ,
105 unsigned long /*count */ ,
106 unsigned char * /*chars */ ,
107 FontEncoding /*fontEncoding */ ,
108 unsigned long * /*glyphcount */ ,
109 CharInfoPtr * /*glyphs */ );
110
111extern _X_EXPORT void register_fpe_functions(void);
112
113#endif /* DIXFONT_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette