This is a C macro that expands to a number with the micro version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, the micro version is 4.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_micro_version
instead.
This is a C macro that expands to a number with the minor version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, the minor version is 3.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_minor_version
instead.
This is a C macro that expands to a string with the version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, this macro expands to
"2.3.4"
.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_version
instead.
This function does nothing.
The error domain for RSVG
This function does nothing.
Loads a new GdkPixbuf
from filename
and returns it. The caller must
assume the reference to the reurned pixbuf. If an error occurred, error
is
set and NULL
is returned.
A file name
Loads a new GdkPixbuf
from filename
and returns it. This pixbuf is uniformly
scaled so that the it fits into a rectangle of size max_width * max_height
. The
caller must assume the reference to the returned pixbuf. If an error occurred,
error
is set and NULL
is returned.
A file name
The requested max width
The requested max height
Loads a new GdkPixbuf
from filename
and returns it. This pixbuf is scaled
from the size indicated to the new size indicated by width
and height
. If
both of these are -1, then the default size of the image being loaded is
used. The caller must assume the reference to the returned pixbuf. If an
error occurred, error
is set and NULL
is returned.
A file name
The new width, or -1
The new height, or -1
Loads a new GdkPixbuf
from filename
and returns it. This pixbuf is scaled
from the size indicated by the file by a factor of x_zoom
and y_zoom
. The
caller must assume the reference to the returned pixbuf. If an error
occurred, error
is set and NULL
is returned.
A file name
The horizontal zoom factor
The vertical zoom factor
Loads a new GdkPixbuf
from filename
and returns it. This pixbuf is scaled
from the size indicated by the file by a factor of x_zoom
and y_zoom
. If the
resulting pixbuf would be larger than max_width/max_heigh it is uniformly scaled
down to fit in that rectangle. The caller must assume the reference to the
returned pixbuf. If an error occurred, error
is set and NULL
is returned.
A file name
The horizontal zoom factor
The vertical zoom factor
The requested max width
The requested max height
Do not use this function. Create an [classRsvg
.Handle] and call
[methodRsvg
.Handle.set_dpi] on it instead.
Dots Per Inch (aka Pixels Per Inch)
Do not use this function. Create an [classRsvg
.Handle] and call
[methodRsvg
.Handle.set_dpi_x_y] on it instead.
Dots Per Inch (aka Pixels Per Inch)
Dots Per Inch (aka Pixels Per Inch)
This function does nothing.
This is a C macro that expands to a number with the major version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, the major version is 2.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your program is running with (e.g. the version which the linker used for your program), or for programs not written in C, use
rsvg_major_version
instead.