wiki:RenderingPluginAPI

Version 5 (modified by sdlime, 12 years ago) ( diff )

Added function return values.

Rendering Plugin API Documentation

Booleans

  • supports_imagecach
  • supports_pixel_buffer
  • supports_transparent_layers

Functions

  • void startNewLayer(imageObj *img, double opacity)
  • void closeNewLayer(imageObj *img, double opacity)
  • imageObj *createImage(int width, int height, outputFormatObj *format, colorObj* bg)
  • int saveImage(imageObj *img, FILE *fp, outputFormatObj *format)
  • void freeImage(imageObj *img)
  • int transformShape(shapeObj *shape, rectObj extent, double cellsize)
  • void renderLine(imageObj *img, shapeObj *p, strokeStyleObj *stroke)
  • void renderPolygon(imageObj *img, shapeObj *p, colorObj *c)
  • void renderGlyphsLine(imageObj *img, labelPathObj *labelpath, labelStyleObj *style, char *text)
  • void renderGlyphs(imageObj *img,double x, double y, labelStyleObj *style, char *text)
  • void renderEllipseSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
  • void renderVectorSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
  • void renderTruetypeSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *s)
  • void renderPixmapSymbol(imageObj *img, double x, double y, symbolObj *symbol, symbolStyleObj *style)
  • void renderTile(imageObj *img, imageObj *tile, double x, double y)
  • void renderPolygonTiled(imageObj *img, shapeObj *p, imageObj *tile)
  • void getRasterBuffer(imageObj *img, rasterBufferObj *rb)
  • void mergeRasterBuffer(imageObj *img, rasterBufferObj *rb, double opacity, int dstX, int dstY)
  • int getTruetypeTextBBox(imageObj *img,char *font, double size, char *text, rectObj *rect, double advances)
  • void freeTile(imageObj *tile)
  • void freeSymbol(symbolObj *s)
Note: See TracWiki for help on using the wiki.