Sha256: 67500e9a54521a6dcf7fd3b2cd58298f85262763e29832f9d42836650024508a

Contents?: true

Size: 1.93 KB

Versions: 41

Compression:

Stored size: 1.93 KB

Contents

/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/*
 *  Copyright (C) 2011  Ruby-GNOME2 Project Team
 *  Copyright (C) 2005-2006 Ruby-GNOME2 Project Team
 *  Copyright (C) 2004  Kouhei Sutou <kou@cozmixng.org>
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *  MA  02110-1301  USA
 */

#ifndef RSVG2_H
#define RSVG2_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <ruby.h>

#include <rbglib.h>
#include <rbgobject.h>
#include <rb_cairo.h>

#include <librsvg/rsvg.h>

#ifndef LIBRSVG_CHECK_VERSION
#  include <librsvg/librsvg-features.h>
#  define LIBRSVG_CHECK_VERSION(major, minor, micro)                    \
    (LIBRSVG_MAJOR_VERSION > (major) ||                                 \
     (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \
     (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && \
      LIBRSVG_MICRO_VERSION >= (micro)))
#endif

#if !LIBRSVG_CHECK_VERSION(2, 36, 2)
#  include <librsvg/rsvg-cairo.h>
#  ifdef HAVE_LIBRSVG_LIBRSVG_ENUM_TYPES_H
#    include <librsvg/librsvg-enum-types.h>
#  else
#    include "librsvg-enum-types.h"
#  endif
#endif


G_GNUC_INTERNAL void Init_rsvg_handle(VALUE mRSVG);
G_GNUC_INTERNAL void Init_rsvg_dimensiondata(VALUE mRSVG);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
rsvg2-3.1.3-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.3-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.3 ext/rsvg2/rsvg2.h
rsvg2-3.1.2-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.2-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.2 ext/rsvg2/rsvg2.h
rsvg2-3.1.1-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.1-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.1 ext/rsvg2/rsvg2.h
rsvg2-3.1.0-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.0-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.1.0 ext/rsvg2/rsvg2.h
rsvg2-3.0.9-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.0.9-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.0.9 ext/rsvg2/rsvg2.h
rsvg2-3.0.8-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.0.8-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.0.8 ext/rsvg2/rsvg2.h
rsvg2-3.0.7-x64-mingw32 ext/rsvg2/rsvg2.h
rsvg2-3.0.7-x86-mingw32 ext/rsvg2/rsvg2.h