(root)/
freetype-2.13.2/
src/
svg/
svgtypes.h
       1  /****************************************************************************
       2   *
       3   * svgtypes.h
       4   *
       5   *   The FreeType SVG renderer internal types (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 SVGTYPES_H_
      19  #define SVGTYPES_H_
      20  
      21  #include <ft2build.h>
      22  #include <freetype/internal/ftobjs.h>
      23  #include <freetype/ftrender.h>
      24  #include <freetype/otsvg.h>
      25  
      26  
      27    typedef struct SVG_RendererRec_
      28    {
      29      FT_RendererRec     root;   /* this inherits FT_RendererRec                */
      30      FT_Bool            loaded;
      31      FT_Bool            hooks_set;
      32      SVG_RendererHooks  hooks;  /* this holds hooks for SVG rendering          */
      33      FT_Pointer         state;  /* a place for hooks to store state, if needed */
      34  
      35    } SVG_RendererRec;
      36  
      37    typedef struct SVG_RendererRec_*  SVG_Renderer;
      38  
      39  #endif /* SVGTYPES_H_ */
      40  
      41  
      42  /* EOF */