| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * svginterface.h |
| 4 | * |
| 5 | * Interface of ot-svg module (specification only). |
| 6 | * |
| 7 | * Copyright (C) 2022-2023 by |
| 8 | * David Turner, Robert Wilhelm, Werner Lemberg, and Moazin Khatti. |
| 9 | * |
| 10 | * This file is part of the FreeType project, and may only be used, |
| 11 | * modified, and distributed under the terms of the FreeType project |
| 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute |
| 13 | * this file you indicate that you have read the license and |
| 14 | * understand and accept it fully. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | |
| 19 | #ifndef SVGINTERFACE_H_ |
| 20 | #define SVGINTERFACE_H_ |
| 21 | |
| 22 | #include <ft2build.h> |
| 23 | #include <freetype/otsvg.h> |
| 24 | |
| 25 | |
| 26 | FT_BEGIN_HEADER |
| 27 | |
| 28 | typedef FT_Error |
| 29 | (*Preset_Bitmap_Func)( FT_Module module, |
| 30 | FT_GlyphSlot slot, |
| 31 | FT_Bool cache ); |
| 32 | |
| 33 | typedef struct SVG_Interface_ |
| 34 | { |
| 35 | Preset_Bitmap_Func preset_slot; |
| 36 | |
| 37 | } SVG_Interface; |
| 38 | |
| 39 | typedef SVG_Interface* SVG_Service; |
| 40 | |
| 41 | FT_END_HEADER |
| 42 | |
| 43 | #endif /* SVGINTERFACE_H_ */ |
| 44 | |
| 45 | |
| 46 | /* END */ |
| 47 | |