| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * ttsvg.h |
| 4 | * |
| 5 | * OpenType SVG Color (specification). |
| 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 | #ifndef TTSVG_H_ |
| 19 | #define TTSVG_H_ |
| 20 | |
| 21 | #include <freetype/internal/ftstream.h> |
| 22 | #include <freetype/internal/tttypes.h> |
| 23 | |
| 24 | |
| 25 | FT_BEGIN_HEADER |
| 26 | |
| 27 | FT_LOCAL( FT_Error ) |
| 28 | tt_face_load_svg( TT_Face face, |
| 29 | FT_Stream stream ); |
| 30 | |
| 31 | FT_LOCAL( void ) |
| 32 | tt_face_free_svg( TT_Face face ); |
| 33 | |
| 34 | FT_LOCAL( FT_Error ) |
| 35 | tt_face_load_svg_doc( FT_GlyphSlot glyph, |
| 36 | FT_UInt glyph_index ); |
| 37 | |
| 38 | FT_END_HEADER |
| 39 | |
| 40 | #endif /* TTSVG_H_ */ |
| 41 | |
| 42 | |
| 43 | /* END */ |
| 44 | |