Graphviz  2.29.20120524.0446
plugin/pango/gvplugin_pango.c
Go to the documentation of this file.
00001 /* $Id$ $Revision$ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /*************************************************************************
00005  * Copyright (c) 2011 AT&T Intellectual Property 
00006  * All rights reserved. This program and the accompanying materials
00007  * are made available under the terms of the Eclipse Public License v1.0
00008  * which accompanies this distribution, and is available at
00009  * http://www.eclipse.org/legal/epl-v10.html
00010  *
00011  * Contributors: See CVS logs. Details at http://www.graphviz.org/
00012  *************************************************************************/
00013 
00014 #include "gvplugin.h"
00015 
00016 extern gvplugin_installed_t gvrender_pango_types[];
00017 extern gvplugin_installed_t gvtextlayout_pango_types[];
00018 extern gvplugin_installed_t gvloadimage_pango_types[];
00019 extern gvplugin_installed_t gvdevice_pango_types[];
00020 
00021 static gvplugin_api_t apis[] = {
00022     {API_render, gvrender_pango_types},
00023     {API_textlayout, gvtextlayout_pango_types},
00024     {API_loadimage, gvloadimage_pango_types},
00025     {API_device, gvdevice_pango_types},
00026     {(api_t)0, 0},
00027 };
00028 
00029 #ifdef WIN32_DLL   /*visual studio*/
00030 #ifndef GVPLUGIN_PANGO_EXPORTS
00031 __declspec(dllimport) gvplugin_library_t gvplugin_pango_LTX_library = { "cairo", apis };
00032 #else
00033 __declspec(dllexport) gvplugin_library_t gvplugin_pango_LTX_library = { "cairo", apis };
00034 #endif
00035 #else /*end visual studio*/
00036 #ifdef GVDLL
00037 __declspec(dllexport) gvplugin_library_t gvplugin_pango_LTX_library = { "cairo", apis };
00038 #else
00039 gvplugin_library_t gvplugin_pango_LTX_library = { "cairo", apis };
00040 #endif
00041 #endif
00042