LIBRSVG: C library for rendering SVG

LIBRSVG 2.62.3 C library for rendering SVG

Loading...
Searching...
No Matches
rsvg-features.h
Go to the documentation of this file.
1/*
2 rsvg-features.h: Feature-test macros for librsvg (Doxygen input).
3
4 Copyright (C) 2026 Randy Butler
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public License as
8 published by the Free Software Foundation; either version 2 of the
9 License, or (at your option) any later version.
10*/
11
12#ifndef RSVG_FEATURES_H
13#define RSVG_FEATURES_H
14
30#define LIBRSVG_CHECK_VERSION(major,minor,micro) \
31 (LIBRSVG_MAJOR_VERSION > (major) || \
32 (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \
33 (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && LIBRSVG_MICRO_VERSION >= (micro)))
34
42#define LIBRSVG_HAVE_SVGZ (TRUE)
43
51#define LIBRSVG_HAVE_CSS (TRUE)
52
60#define LIBRSVG_HAVE_PIXBUF (TRUE)
61
66#define LIBRSVG_CHECK_FEATURE(FEATURE) (LIBRSVG_HAVE_##FEATURE)
67
68#ifndef RSVG_VAR
69# define RSVG_VAR extern
70#endif
71
79 RSVG_VAR const unsigned int rsvg_major_version;
80
88 RSVG_VAR const unsigned int rsvg_minor_version;
89
97 RSVG_VAR const unsigned int rsvg_micro_version;
98
106 RSVG_VAR const unsigned int librsvg_major_version;
107
112 RSVG_VAR const unsigned int librsvg_minor_version;
113
118 RSVG_VAR const unsigned int librsvg_micro_version;
119
127 RSVG_VAR const char librsvg_version[];
128
131#endif
librsvg_version
RSVG_VAR const char librsvg_version[]
librsvg_version:
Definition rsvg-features.h:127
RSVG_VAR
#define RSVG_VAR
Definition rsvg-features.h:69
rsvg_major_version
RSVG_VAR const unsigned int rsvg_major_version
rsvg_major_version:
Definition rsvg-features.h:79
librsvg_micro_version
RSVG_VAR const unsigned int librsvg_micro_version
librsvg_micro_version:
Definition rsvg-features.h:118
rsvg_micro_version
RSVG_VAR const unsigned int rsvg_micro_version
rsvg_micro_version:
Definition rsvg-features.h:97
librsvg_minor_version
RSVG_VAR const unsigned int librsvg_minor_version
librsvg_minor_version:
Definition rsvg-features.h:112
rsvg_minor_version
RSVG_VAR const unsigned int rsvg_minor_version
rsvg_minor_version:
Definition rsvg-features.h:88
librsvg_major_version
RSVG_VAR const unsigned int librsvg_major_version
librsvg_major_version:
Definition rsvg-features.h:106