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