FoImage

FoImage

Functions

Types and Values

Description

Functions

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 .

Parameters

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 .

Parameters

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 .

Parameters

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 .

Parameters

fo_image

FoImage.

 

Returns

The intrinsic height of fo_image .

Types and Values

FoImage

typedef struct _FoImage FoImage;


FoImageClass

typedef struct _FoImageClass FoImageClass;