1 | /* $Id$ $Revision$ */ |
2 | /* vim:set shiftwidth=4 ts=8: */ |
3 | |
4 | /************************************************************************* |
5 | * Copyright (c) 2011 AT&T Intellectual Property |
6 | * All rights reserved. This program and the accompanying materials |
7 | * are made available under the terms of the Eclipse Public License v1.0 |
8 | * which accompanies this distribution, and is available at |
9 | * http://www.eclipse.org/legal/epl-v10.html |
10 | * |
11 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
12 | *************************************************************************/ |
13 | |
14 | #include "gvplugin.h" |
15 | |
16 | extern gvplugin_installed_t gvrender_pango_types[]; |
17 | extern gvplugin_installed_t gvtextlayout_pango_types[]; |
18 | extern gvplugin_installed_t gvloadimage_pango_types[]; |
19 | extern gvplugin_installed_t gvdevice_pango_types[]; |
20 | |
21 | static gvplugin_api_t apis[] = { |
22 | {API_render, gvrender_pango_types}, |
23 | {API_textlayout, gvtextlayout_pango_types}, |
24 | {API_loadimage, gvloadimage_pango_types}, |
25 | {API_device, gvdevice_pango_types}, |
26 | {(api_t)0, 0}, |
27 | }; |
28 | |
29 | #ifdef _WIN32 |
30 | # define GVPLUGIN_PANGO_API __declspec(dllexport) |
31 | #else |
32 | # define GVPLUGIN_PANGO_API |
33 | #endif |
34 | |
35 | GVPLUGIN_PANGO_API gvplugin_library_t gvplugin_pango_LTX_library = { "cairo" , apis }; |
36 | |