FoImage

FoImage

Synopsis

                    FoImage;
                    FoImageClass;
FoImage*            fo_image_new                        (void);
FoImage*            fo_image_new_from_uri               (const gchar *uri,
                                                         const gchar *base);
const gchar*        fo_image_get_uri                    (FoImage *fo_image);
FoDatatype*         fo_image_get_width                  (const FoImage *fo_image);
FoDatatype*         fo_image_get_height                 (const FoImage *fo_image);

Description

Details

FoImage

typedef struct _FoImage FoImage;


FoImageClass

typedef struct _FoImageClass FoImageClass;


fo_image_new ()

FoImage*            fo_image_new                        (void);

Creates a new FoImage.

Returns :

the newly created FoImage.

fo_image_new_from_uri ()

FoImage*            fo_image_new_from_uri               (const gchar *uri,
                                                         const gchar *base);

Creates a new FoImage from the resource at uri.

If uri is a relative URI, it is resolved relative to base.

uri :

URI of image.

base :

Base URI for resolving relative URI uri values.

Returns :

the newly created FoImageo or NULL.

fo_image_get_uri ()

const gchar*        fo_image_get_uri                    (FoImage *fo_image);

Get the URI in fo_image.

fo_image :

FoImage

Returns :

URI of image to make fo_image.

fo_image_get_width ()

FoDatatype*         fo_image_get_width                  (const FoImage *fo_image);

Gets the intrinsic width of fo_image.

fo_image :

FoImage

Returns :

The intrinsic width of fo_image.

fo_image_get_height ()

FoDatatype*         fo_image_get_height                 (const FoImage *fo_image);

Gets the intrinsic height of fo_image.

fo_image :

FoImage.

Returns :

The intrinsic height of fo_image.