gvplugin_pango.c 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. #include <gvc/gvplugin.h>
  11. extern gvplugin_installed_t gvrender_pango_types[];
  12. extern gvplugin_installed_t gvtextlayout_pango_types[];
  13. extern gvplugin_installed_t gvloadimage_pango_types[];
  14. extern gvplugin_installed_t gvdevice_pango_types[];
  15. static gvplugin_api_t apis[] = {
  16. {API_render, gvrender_pango_types},
  17. {API_textlayout, gvtextlayout_pango_types},
  18. {API_loadimage, gvloadimage_pango_types},
  19. {API_device, gvdevice_pango_types},
  20. {(api_t)0, 0},
  21. };
  22. #ifdef GVDLL
  23. #define GVPLUGIN_PANGO_API __declspec(dllexport)
  24. #else
  25. #define GVPLUGIN_PANGO_API
  26. #endif
  27. GVPLUGIN_PANGO_API gvplugin_library_t gvplugin_pango_LTX_library = { "cairo", apis };