1 | // Copyright (C) 2016 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | /***************************************************************************/ |
5 | /* */ |
6 | /* qgrayraster_p.h, derived from ftgrays.h */ |
7 | /* */ |
8 | /* FreeType smooth renderer declaration */ |
9 | /* */ |
10 | /* Copyright 1996-2001 by */ |
11 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
12 | /* */ |
13 | /* This file is part of the FreeType project, and may only be used, */ |
14 | /* modified, and distributed under the terms of the FreeType project */ |
15 | /* license, ../../3rdparty/freetype/docs/FTL.TXT. By continuing to use, */ |
16 | /* modify, or distribute this file you indicate that you have read */ |
17 | /* the license and understand and accept it fully. */ |
18 | /***************************************************************************/ |
19 | |
20 | |
21 | #ifndef __FTGRAYS_H__ |
22 | #define __FTGRAYS_H__ |
23 | |
24 | /* |
25 | // W A R N I N G |
26 | // ------------- |
27 | // |
28 | // This file is not part of the Qt API. It exists purely as an |
29 | // implementation detail. This header file may change from version to |
30 | // version without notice, or even be removed. |
31 | // |
32 | // We mean it. |
33 | */ |
34 | |
35 | #ifdef __cplusplus |
36 | extern "C" { |
37 | #endif |
38 | |
39 | |
40 | #include <private/qrasterdefs_p.h> |
41 | |
42 | /*************************************************************************/ |
43 | /* */ |
44 | /* To make ftgrays.h independent from configuration files we check */ |
45 | /* whether QT_FT_EXPORT_VAR has been defined already. */ |
46 | /* */ |
47 | /* On some systems and compilers (Win32 mostly), an extra keyword is */ |
48 | /* necessary to compile the library as a DLL. */ |
49 | /* */ |
50 | #ifndef QT_FT_EXPORT_VAR |
51 | #define QT_FT_EXPORT_VAR( x ) extern x |
52 | #endif |
53 | |
54 | /* Minimum buffer size for raster object, that accounts |
55 | for TWorker and TCell sizes.*/ |
56 | #define MINIMUM_POOL_SIZE 8192 |
57 | |
58 | QT_FT_EXPORT_VAR( const QT_FT_Raster_Funcs ) qt_ft_grays_raster; |
59 | |
60 | |
61 | #ifdef __cplusplus |
62 | } |
63 | #endif |
64 | |
65 | #endif /* __FTGRAYS_H__ */ |
66 | |
67 | /* END */ |
68 | |