Home | History | Annotate | Download | only in layout
      1 /*
      2  *
      3  * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
      4  *
      5  */
      6 
      7 #ifndef __GNOMEGLUE_H
      8 #define __GNOMEGLUE_H
      9 
     10 #include <gnome.h>
     11 #include <ft2build.h>
     12 #include FT_FREETYPE_H
     13 
     14 #include "unicode/utypes.h"
     15 
     16 #include "LETypes.h"
     17 #include "loengine.h"
     18 #include "gsupport.h"
     19 #include "rsurface.h"
     20 
     21 typedef void fm_fontMap;
     22 
     23 U_CDECL_BEGIN
     24 
     25 gs_guiSupport *gs_gnomeGuiSupportOpen();
     26 void gs_gnomeGuiSupportClose(gs_guiSupport *guiSupport);
     27 
     28 rs_surface *rs_gnomeRenderingSurfaceOpen(GtkWidget *theWidget);
     29 void rs_gnomeRenderingSurfaceClose(rs_surface *surface);
     30 
     31 fm_fontMap *fm_gnomeFontMapOpen(FT_Library engine, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
     32 void fm_fontMapClose(fm_fontMap *fontMap);
     33 
     34 le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap);
     35 void le_fontClose(le_font *font);
     36 
     37 U_CDECL_END
     38 
     39 #endif
     40