pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.5 1999/04/12 11:41:16 mirar Exp $"); + RCSID("$Id: xcf.c,v 1.6 1999/04/13 12:32:47 mirar Exp $");      #include "config.h"      #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "module_support.h"   #include "interpret.h"   #include "object.h"   #include "svalue.h"
pike.git/src/modules/Image/encodings/xcf.c:858:         /*   **! method mapping _decode(string|object data,mapping|void options)   **! Decodes a XCF image to a mapping, with at least an   **! 'image' and possibly an 'alpha' object. Data is either a XCF image, or   **! a XCF.GimpImage object structure (as received from __decode)   **!   **! <pre> Supported options   **! ([ - **! "background":({r,g,b})||Image.color object + **! "background":({r,g,b})||Image.Color object   **! "draw_all_layers":1,   **! Draw invisible layers as well   **!   **! "draw_guides":1,   **! Draw the guides   **!   **! "draw_selection":1,   **! Mark the selection using an overlay   **!   **! "ignore_unknown_layer_modes":1   **! Do not asume 'Normal' for unknown layer modes.   **!   **! "mark_layers":1,   **! Draw an outline around all (drawn) layers   **! - **! "mark_layer_names":Image.font object, + **! "mark_layer_names":Image.Font object,   **! Write the name of all layers using the font object,   **!   **! "mark_active_layer":1,   **! Draw an outline around the active layer   **! ])</pre>   **!   **! note   **! Throws upon error in data. For more information, see Image.XCF.__decode   */   
pike.git/src/modules/Image/encodings/xcf.c:901:   **! !class GimpImage   **! {   **! int width;   **! int height;   **! int compression;   **! int type;   **! int tattoo_state;   **! float xres = 72.0;   **! float yres = 72.0;   **! int res_unit; - **! Image.colortable colormap; - **! Image.colortable meta_colormap; + **! Image.Colortable colormap; + **! Image.Colortable meta_colormap;   **! array(Layer) layers = ({});   **! array(Channel) channels = ({});   **! array(Guide) guides = ({});   **! array(Parasite) parasites = ({});   **! array(Path) paths = ({});   **!   **! Layer active_layer;   **! Channel active_channel;   **! Channel selection;   **! }
pike.git/src/modules/Image/encodings/xcf.c:945:   **! int r, g, b;   **! int tattoo;   **! Hierarchy image_data;   **! object parent;   **! mapping flags = ([]);   **! array (Parasite) parasites;   **! }   **!   **! !class Hierarchy   **! { - **! Image.image img; - **! Image.image alpha; + **! Image.Image img; + **! Image.Image alpha;   **! int width;   **! int height;   **! int bpp;   **! }   **!   **! !class Parasite   **! {   **! string name;   **! int flags;   **! string data;