~ubuntu-branches/ubuntu/lucid/graphviz/lucid

« back to all changes in this revision

Viewing changes to plugin/gdiplus/gvplugin_gdiplus.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: gvplugin_gdiplus.cpp,v 1.1 2008/02/28 04:16:40 glenlow Exp $ $Revision: 1.1 $ */
 
2
/* vim:set shiftwidth=4 ts=8: */
 
3
 
 
4
/**********************************************************
 
5
*      This software is part of the graphviz package      *
 
6
*                http://www.graphviz.org/                 *
 
7
*                                                         *
 
8
*            Copyright (c) 1994-2008 AT&T Corp.           *
 
9
*                and is licensed under the                *
 
10
*            Common Public License, Version 1.0           *
 
11
*                      by AT&T Corp.                      *
 
12
*                                                         *
 
13
*        Information and Software Systems Research        *
 
14
*              AT&T Research, Florham Park NJ             *
 
15
**********************************************************/
 
16
 
 
17
#include "gvplugin.h"
 
18
 
 
19
extern gvplugin_installed_t gvrender_gdiplus_types;
 
20
// extern gvplugin_installed_t gvtextlayout_gdiplus_types;
 
21
// extern gvplugin_installed_t gvloadimage_gdiplus_types;
 
22
extern gvplugin_installed_t gvdevice_gdiplus_types;
 
23
 
 
24
static gvplugin_api_t apis[] = {
 
25
    {API_render, &gvrender_gdiplus_types},
 
26
  //  {API_textlayout, &gvtextlayout_gdiplus_types},
 
27
  //  {API_loadimage, &gvloadimage_gdiplus_types},
 
28
    {API_device, &gvdevice_gdiplus_types},
 
29
    {(api_t)0, 0},
 
30
};
 
31
 
 
32
gvplugin_library_t gvplugin_gdiplus_LTX_library = { "gdiplus", apis };