From 1d9fd1eefeba60b0245e7419661a2b5baf5b45d7 Mon Sep 17 00:00:00 2001 From: John Luke Date: Tue, 29 Jun 2004 04:54:41 +0000 Subject: [PATCH] some Rsvg stuff svn path=/trunk/gtk-sharp/; revision=30502 --- doc/en/Rsvg/Handle.xml | 39 ++++++------ doc/en/Rsvg/Pixbuf.xml | 132 ++++++++++++++++++++--------------------- doc/en/Rsvg/Tool.xml | 4 +- 3 files changed, 88 insertions(+), 87 deletions(-) diff --git a/doc/en/Rsvg/Handle.xml b/doc/en/Rsvg/Handle.xml index 3cfc362d5..301b93b7b 100644 --- a/doc/en/Rsvg/Handle.xml +++ b/doc/en/Rsvg/Handle.xml @@ -31,9 +31,10 @@ - To be added - a - To be added + Close, to indicate that loading the image is complete. + + if the loader closed successfully, or if there was an error. + This will return if the loader closed successfully. @@ -44,8 +45,8 @@ - To be added - To be added + Frees handle. + @@ -68,9 +69,9 @@ - To be added - a - To be added + Returns a new rsvg handle. + a new + This handle can be used for dynamically loading an image. You need to feed it data using , then call when done. No more than one image can be loaded with one handle. @@ -81,9 +82,9 @@ - To be added + The pixbuf loaded by handle. a - To be added + If insufficient data has been read to create the pixbuf, or an error occurred in loading, then will be returned. @@ -93,9 +94,9 @@ System.Double - To be added - a - To be added + Sets the DPI for the all future outgoing pixbufs. + Dots Per Inch (aka Pixels Per Inch) + Common values are 72, 90, and 300 DPI. Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be. @@ -106,9 +107,9 @@ - To be added + See , except that this will handle GZipped SVGs (svgz) a - To be added + Use the returned handle identically to how you use a handle returned from @@ -122,11 +123,11 @@ - To be added - a - a + Loads the next bytes + Pointer to svg data + length of the buffer in bytes a - To be added + This will return if the data was loaded successful, and if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. diff --git a/doc/en/Rsvg/Pixbuf.xml b/doc/en/Rsvg/Pixbuf.xml index 4d72084db..2d5b8d17d 100644 --- a/doc/en/Rsvg/Pixbuf.xml +++ b/doc/en/Rsvg/Pixbuf.xml @@ -10,7 +10,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + Utility/Convenience Functions for creating a from SVG. To be added @@ -33,14 +33,14 @@ - To be added - a - a - a - a - a - a - To be added + Loads a new from at , , and . + A file name + The horizontal zoom factor + The vertical zoom factor + The requested max width + The requested max height + A newly allocated , or + This pixbuf is scaled from the size indicated by the file by a factor of and . If the resulting pixbuf would be larger than / it is uniformly scaled down to fit in that rectangle. If an error occurred is returned. @@ -53,10 +53,10 @@ - To be added - a - a - To be added + Loads a new from and returns it. + A file name + A newly allocated , or + If an error occurred is returned. @@ -71,12 +71,12 @@ - To be added - a - a - a - a - To be added + Loads a new from at and . + A file name + The new width, or -1 + The new height, or -1 + A newly allocated , or + This pixbuf is scaled from the size indicated to the new size indicated by and . If either of these are -1, then the default size of the image being loaded is used. If an error occurred is returned. @@ -91,12 +91,12 @@ - To be added - a - a - a - a - To be added + Loads a new from at and . + A file name + The requested max width + The requested max height + A newly allocated , or + This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . If an error occurred is returned. @@ -111,12 +111,12 @@ - To be added - a - a - a - a - To be added + Loads a new from at and . + A file name + The horizontal zoom factor + The vertical zoom factor + A newly allocated , or + This pixbuf is scaled from the size indicated by the file by a factor of and . If an error occurred is returned. @@ -143,13 +143,13 @@ - To be added - a - a - a - a - a - To be added + Loads a new from at and . + The you wish to render with (either normal or gzipped) + A file name + The requested max width + The requested max height + A newly allocated , or + This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . @@ -165,13 +165,13 @@ - To be added - a - a - a - a - a - To be added + Loads a new from at and + The you wish to render with (either normal or gzipped) + A file name + The new width, or -1 + The new height, or -1 + A newly allocated , or + This pixbuf is scaled from the size indicated to the new size indicated by width and height. If either of these are -1, then the default size of the image being loaded is used. If an error occurred is returned. @@ -187,13 +187,13 @@ - To be added - a - a - a - a - a - To be added + Loads a new GdkPixbuf from at and . + The you wish to render with (either normal or gzipped) + A file name + The horizontal zoom factor + The vertical zoom factor + A newly allocated , or + This pixbuf is scaled from the size indicated by the file by a factor of and . @@ -207,11 +207,11 @@ - To be added - a - a - a - To be added + Loads a new GdkPixbuf from . + The you wish to render with (either normal or gzipped) + A file name + A newly allocated , or + If an error occurred, error is set and is returned. @@ -229,15 +229,15 @@ - To be added - a - a - a - a - a - a - a - To be added + Loads a new GdkPixbuf from file_name + The you wish to render with (either normal or gzipped) + A file name + The horizontal zoom factor + The vertical zoom factor + The requested max width + The requested max height + A newly allocated , or + This pixbuf is scaled from the size indicated by the file by a factor of and . If the resulting pixbuf would be larger than / it is uniformly scaled down to fit in that rectangle. diff --git a/doc/en/Rsvg/Tool.xml b/doc/en/Rsvg/Tool.xml index 0201e6f9b..9bb81c6ac 100644 --- a/doc/en/Rsvg/Tool.xml +++ b/doc/en/Rsvg/Tool.xml @@ -162,9 +162,9 @@ class MyMainWindow : Gtk.Window - To be added + Internal constructor a - To be added + Should never be used.