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