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 "dwrite_private.h"
24 #include "wine/unixlib.h"
26 struct create_font_object_params
34 struct release_font_object_params
39 struct get_glyph_outline_params
42 unsigned int simulations
;
45 struct dwrite_outline
*outline
;
48 struct get_glyph_count_params
54 struct get_glyph_advance_params
61 unsigned int *has_contours
;
64 struct get_glyph_bbox_params
67 unsigned int simulations
;
74 struct get_glyph_bitmap_params
77 unsigned int simulations
;
85 unsigned int *is_1bpp
;
88 struct get_design_glyph_metrics_params
91 unsigned int simulations
;
95 DWRITE_GLYPH_METRICS
*metrics
;
98 enum font_backend_funcs
102 unix_create_font_object
,
103 unix_release_font_object
,
104 unix_get_glyph_outline
,
105 unix_get_glyph_count
,
106 unix_get_glyph_advance
,
108 unix_get_glyph_bitmap
,
109 unix_get_design_glyph_metrics
,
113 #define UNIX_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )