anypaper Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <anypaper_image.h> AnypaperImagePrivate; struct AnypaperImage; gboolean anypaper_image_make (AnypaperImage *image
,AnypaperParameters *parameters
); void anypaper_image_move (AnypaperImage *image
,AnypaperParameters *parameters
);
This application class generates the images used by anyPaper
The images present in AnypaperImage are created by anypaper_image_move()
using the parameters passed to function and images previously created by anypaper_image_make()
. The anypaper_image_make()
function modifies some parameters passed by AnypaperParameters (mainly positionx and positiony, for indicating the range allowed for the variables) so they must be updated.
struct AnypaperImage { GdkPixbuf *image; GdkPixbuf *preview; };
Contains the generated images used by the program
gboolean anypaper_image_make (AnypaperImage *image
,AnypaperParameters *parameters
);
Generate a GdkPixbuf background and a GdkPixbuf base image with the parameters selected in AnypaperParameters.
|
a AnypaperImage |
|
a AnypaperParameters |
Returns : |
TRUE if the image file is successfully opened, FALSE if an error occurs |
void anypaper_image_move (AnypaperImage *image
,AnypaperParameters *parameters
);
Generate the GdkPixbuf image and the GdkPixbuf preview present in AnypaperImage struct with the parameters selected in AnypaperParameters and the images created by anypaper_image_make()
|
a AnypaperImage |
|
a AnypaperParameters |