Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgrayraster_p.h
Go to the documentation of this file.
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#include <qtconfigmacros.h>
36
37#ifdef __cplusplus
38 extern "C" {
39#endif
40
41
42#include <private/qrasterdefs_p.h>
43
44 /*************************************************************************/
45 /* */
46 /* To make ftgrays.h independent from configuration files we check */
47 /* whether QT_FT_EXPORT_VAR has been defined already. */
48 /* */
49 /* On some systems and compilers (Win32 mostly), an extra keyword is */
50 /* necessary to compile the library as a DLL. */
51 /* */
52#ifndef QT_FT_EXPORT_VAR
53#define QT_FT_EXPORT_VAR( x ) extern x
54#endif
55
56/* Minimum buffer size for raster object, that accounts
57 for TWorker and TCell sizes.*/
58#define MINIMUM_POOL_SIZE 8192
59
60 QT_FT_EXPORT_VAR( const QT_FT_Raster_Funcs ) QT_MANGLE_NAMESPACE(qt_ft_grays_raster);
61
62
63#ifdef __cplusplus
64 }
65#endif
66
67#endif /* __FTGRAYS_H__ */
68
69/* END */
#define QT_FT_EXPORT_VAR(x)
#define QT_MANGLE_NAMESPACE(name)