|
Krita Source Code Documentation
|
Go to the source code of this file.
Macros | |
| #define | ICONV_CONST const |
Functions | |
| int | computeDimensions (struct tileDimensions *d) |
| int | getBasicXcfInfo (void) |
| int | xcfNextprop (uint32_t *master, uint32_t *body, PropType *typeOut) |
| int | xcfOffset (uint32_t addr, int spaceafter, uint32_t *apparent) |
| const char * | xcfString (uint32_t ptr, uint32_t *after) |
Variables | |
| int | use_utf8 = 0 |
| struct xcfImage | XCF |
| uint8_t * | xcf_file = 0 |
| size_t | xcf_length |
| #define ICONV_CONST const |
Definition at line 26 of file xcf-general.c.
| int computeDimensions | ( | struct tileDimensions * | d | ) |
Definition at line 220 of file xcf-general.c.
References FatalBadXCF(), TILE_HEIGHT, TILE_WIDTH, XCF_ERROR, and XCF_OK.
| int getBasicXcfInfo | ( | void | ) |
Definition at line 248 of file xcf-general.c.
References _, tileDimensions::c, xcfImage::colormapptr, COMPRESS_NONE, xcfImage::compression, computeDimensions(), xcfLayer::dim, FatalBadXCF(), GIMP_NORMAL_MODE, xcfLayer::hasMask, tileDimensions::height, xcfImage::height, xcfTiles::hierarchy, xcfLayer::isGroup, xcfLayer::isVisible, rect::l, xcfImage::layers, xcfLayer::mask, xcfLayer::mode, xcfLayer::name, xcfImage::numLayers, xcfLayer::opacity, xcfLayer::path, xcfLayer::pathLength, xcfLayer::pixels, PROP_APPLY_MASK, PROP_COLORMAP, PROP_COMPRESSION, PROP_END, PROP_GROUP_ITEM, PROP_ITEM_PATH, PROP_MODE, PROP_OFFSETS, PROP_OPACITY, PROP_VISIBLE, xcfLayer::propptr, rect::t, xcfTiles::tileptrs, xcfLayer::type, xcfImage::type, xcfImage::version, tileDimensions::width, xcfImage::width, XCF, XCF_ERROR, xcf_file, XCF_OK, XCF_PTR_EMPTY, xcfCheckspace(), xcffree(), xcfL, xcfmalloc(), xcfNextprop(), xcfOffset(), and xcfString().
| int xcfNextprop | ( | uint32_t * | master, |
| uint32_t * | body, | ||
| PropType * | typeOut ) |
Definition at line 52 of file xcf-general.c.
References FatalBadXCF(), length(), PROP_APPLY_MASK, PROP_COLORMAP, PROP_COMPRESSION, PROP_END, PROP_MODE, PROP_OFFSETS, PROP_OPACITY, showPropType(), XCF_ERROR, XCF_OK, xcfCheckspace(), and xcfL.
| int xcfOffset | ( | uint32_t | addr, |
| int | spaceafter, | ||
| uint32_t * | apparent ) |
Definition at line 34 of file xcf-general.c.
References XCF_ERROR, XCF_OK, xcfCheckspace(), and xcfL.
| const char * xcfString | ( | uint32_t | ptr, |
| uint32_t * | after ) |
Definition at line 117 of file xcf-general.c.
References _, FatalBadXCF(), FatalUnexpected(), ICONV_CONST, length(), use_utf8, xcf_file, XCF_OK, XCF_PTR_EMPTY, xcfCheckspace(), xcffree(), xcfL, and xcfmalloc().
| int use_utf8 = 0 |
Definition at line 31 of file xcf-general.c.
| struct xcfImage XCF |
Definition at line 245 of file xcf-general.c.
| uint8_t* xcf_file = 0 |
Definition at line 29 of file xcf-general.c.
| size_t xcf_length |
Definition at line 30 of file xcf-general.c.