2 * Copyright 2021 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include "wine/unixlib.h"
25 struct create_font_object_params
33 struct release_font_object_params
38 struct get_glyph_outline_params
41 unsigned int simulations
;
44 struct dwrite_outline
*outline
;
47 struct get_glyph_count_params
53 struct get_glyph_advance_params
60 unsigned int *has_contours
;
63 struct get_glyph_bbox_params
66 unsigned int simulations
;
73 struct get_glyph_bitmap_params
76 unsigned int simulations
;
84 unsigned int *is_1bpp
;
87 struct get_design_glyph_metrics_params
90 unsigned int simulations
;
94 DWRITE_GLYPH_METRICS
*metrics
;
97 enum font_backend_funcs
101 unix_create_font_object
,
102 unix_release_font_object
,
103 unix_get_glyph_outline
,
104 unix_get_glyph_count
,
105 unix_get_glyph_advance
,
107 unix_get_glyph_bitmap
,
108 unix_get_design_glyph_metrics
,
111 extern unixlib_handle_t unixlib_handle DECLSPEC_HIDDEN
;
113 #define UNIX_CALL( func, params ) __wine_unix_call( unixlib_handle, unix_ ## func, params )