diff options
author | Paolo Borelli <pborelli@gnome.org> | 2021-01-17 17:46:26 +0100 |
---|---|---|
committer | Sven Neumann <sven@svenfoo.org> | 2021-02-03 11:09:57 +0100 |
commit | 6f86ec1a20d479203998932d4ba7ce0e3f877068 (patch) | |
tree | d60593c813a5b2e5f55e8cdde98e84a4ef199934 /include | |
parent | 106e6aecbfa8ac15eb919b5de348533b8aa16bad (diff) | |
download | librsvg-6f86ec1a20d479203998932d4ba7ce0e3f877068.tar.gz |
Remove color utils and rsvg-css.h private header.
They were only used by the C version of rsvg-convert.
Diffstat (limited to 'include')
-rw-r--r-- | include/librsvg/rsvg-css.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/include/librsvg/rsvg-css.h b/include/librsvg/rsvg-css.h deleted file mode 100644 index dfca15b0..00000000 --- a/include/librsvg/rsvg-css.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* vim: set sw=4 sts=4 expandtab: */ -/* - rsvg-css.h : CSS utility functions - - Copyright (C) 2000 Eazel, Inc. - Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com> - - 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 - - Author: Raph Levien <raph@artofcode.com> -*/ -#ifndef RSVG_CSS_H -#define RSVG_CSS_H - -#include <glib.h> - -/* Override to export public/semi-public APIs */ -#ifndef RSVG_API -# define RSVG_API -#endif - -G_BEGIN_DECLS - -/* Keep this in sync with rust/src/color.rs:ColorKind */ -typedef enum { - RSVG_CSS_COLOR_SPEC_ARGB, - RSVG_CSS_COLOR_PARSE_ERROR -} RsvgCssColorKind; - -/* Keep this in sync with rust/src/color.rs:RsvgCssColor */ -typedef struct { - RsvgCssColorKind kind; - guint32 argb; /* only valid if kind == RSVG_CSS_COLOR_SPEC_ARGB */ -} RsvgCssColorSpec; - -/* This one is semi-public for mis-use in rsvg-convert */ -RSVG_API -RsvgCssColorSpec rsvg_css_parse_color (const char *str); - -#ifdef RSVG_COMPILATION - -/* Implemented in rust/src/color.rs */ -G_GNUC_INTERNAL -RsvgCssColorSpec rsvg_css_parse_color (const char *str); - -#endif /* RSVG_COMPILATION */ - -G_END_DECLS - -#endif |