Changes between Version 4 and Version 5 of RenderingPluginAPI


Ignore:
Timestamp:
Feb 22, 2010, 11:51:29 AM (12 years ago)
Author:
sdlime
Comment:

Added function return values.

Legend:

Unmodified
Added
Removed
Modified
  • RenderingPluginAPI

    v4 v5  
    99Functions
    1010
    11   * startNewLayer(imageObj *img, double opacity)
    12   * closeNewLayer(imageObj *img, double opacity)
     11  * void startNewLayer(imageObj *img, double opacity)
     12  * void closeNewLayer(imageObj *img, double opacity)
    1313
    14   * createImage(int width, int height, outputFormatObj *format, colorObj* bg)
    15   * saveImage(imageObj *img, FILE *fp, outputFormatObj *format)
    16   * freeImage(imageObj *img)
     14  * imageObj *createImage(int width, int height, outputFormatObj *format, colorObj* bg)
     15  * int saveImage(imageObj *img, FILE *fp, outputFormatObj *format)
     16  * void freeImage(imageObj *img)
    1717
    18   * transformShape(shapeObj *shape, rectObj extent, double cellsize)
     18  * int transformShape(shapeObj *shape, rectObj extent, double cellsize)
    1919
    20   * renderLine(imageObj *img, shapeObj *p, strokeStyleObj *stroke)
    21   * renderPolygon(imageObj *img, shapeObj *p, colorObj *c)
    22   * renderGlyphsLine(imageObj *img, labelPathObj *labelpath, labelStyleObj *style, char *text)
    23   * renderGlyphs(imageObj *img,double x, double y, labelStyleObj *style, char *text)
    24   * renderEllipseSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
    25   * renderVectorSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
    26   * renderTruetypeSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *s)
    27   * renderPixmapSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
    28   * renderTile(imageObj *img, imageObj *tile, double x, double y)
    29   * renderPolygonTiled(imageObj *img, shapeObj *p,  imageObj *tile)
     20  * void renderLine(imageObj *img, shapeObj *p, strokeStyleObj *stroke)
     21  * void renderPolygon(imageObj *img, shapeObj *p, colorObj *c)
     22  * void renderGlyphsLine(imageObj *img, labelPathObj *labelpath, labelStyleObj *style, char *text)
     23  * void renderGlyphs(imageObj *img,double x, double y, labelStyleObj *style, char *text)
     24  * void renderEllipseSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
     25  * void renderVectorSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
     26  * void renderTruetypeSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *s)
     27  * void renderPixmapSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
     28  * void renderTile(imageObj *img, imageObj *tile, double x, double y)
     29  * void renderPolygonTiled(imageObj *img, shapeObj *p,  imageObj *tile)
    3030
    31   * getRasterBuffer(imageObj *img, rasterBufferObj *rb)
    32   * mergeRasterBuffer(imageObj *img, rasterBufferObj *rb, double opacity, int dstX, int dstY)
     31  * void getRasterBuffer(imageObj *img, rasterBufferObj *rb)
     32  * void mergeRasterBuffer(imageObj *img, rasterBufferObj *rb, double opacity, int dstX, int dstY)
    3333
    34   * getTruetypeTextBBox(imageObj *img,char *font, double size, char *text, rectObj *rect, double **advances)
     34  * int getTruetypeTextBBox(imageObj *img,char *font, double size, char *text, rectObj *rect, double **advances)
    3535
    36   * freeTile(imageObj *tile)
    37   * freeSymbol(symbolObj *s)
     36  * void freeTile(imageObj *tile)
     37  * void freeSymbol(symbolObj *s)