IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2020, 2:04:27 PM (6 years ago)
Author:
tdeboer
Message:

quick undo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libkapa/include/kapa.h

    r41340 r41341  
    4545  KAPA_PLOT_BARS_OUTLINE =  4,
    4646  KAPA_PLOT_BARS_OUTFILL =  5,
    47   KAPA_PLOT_INVALID_MAX  =  6,
     47  KAPA_PLOT_POLYGON      =  6,
     48  KAPA_PLOT_POLYFILL     =  7,
     49  KAPA_PLOT_INVALID_MAX  =  8,
    4850} KapaPlotStyle;
    4951
     
    172174  int Nx, Ny, Nbyte;
    173175  bDrawColor **pixels;
     176  char **mask;
    174177  png_color *palette;
    175178  int Npalette;
     179
    176180  // current drawing values:
    177181  int bWeight;
     
    218222int KapaPNG (int fd, const char *filename);
    219223int KapaPPM (int fd, const char *filename);
     224int KapaPDF (int fd, const char *filename, int scaleMode, int pageMode, char *pagename);
    220225
    221226/* KiiCursor.c */
     
    256261int KapaGetImageData (int fd, KapaImageData *graphmode);
    257262int KapaSetToolbox (int fd, int location);
     263int KapaSetSmoothSigma (int fd, float sigma);
     264int KapaMemoryDump (int fd);
     265int KapaMemoryDumpLines (int fd, int Nlines);
     266int KapaMemoryDumpOnExit (int fd, int state);
    258267
    259268/* KapaColors */
     
    272281/* RotFont.c */
    273282void InitRotFonts PROTO((void));
     283void FreeRotFonts PROTO((void));
    274284int SetRotFont PROTO((char *name, int size));
    275285char *GetRotFont PROTO((int *size));
     
    282292int DrawRotTextInit (Display *display, Window window, GC gc, unsigned long fore, unsigned long back);
    283293
     294/* PDFRotFont.c */
     295void PDFRotText (IOBuffer *buffer, int x, int y, char *string, int pos, double angle);
    284296
    285297/* PSRotFont.c */
    286298void PSRotText PROTO((FILE *f, int x, int y, char *string, int pos, double angle));
    287 void PSDumpRotSegment PROTO((FILE *f, char *segment, int *Nseg));
    288 void PSSetFont PROTO((FILE *f, char *name, int size));
    289299int PSRotStrlen PROTO((char *c));
    290300
     
    292302bDrawBuffer *bDrawBufferCreate (int Nx, int Ny, int Nbyte, png_color *palette, int Npalette);
    293303void bDrawBufferFree (bDrawBuffer *buffer);
     304int bDrawMerge (bDrawBuffer *base, bDrawBuffer *layer);
    294305void bDrawSetBuffer (bDrawBuffer *buffer);
    295306void bDrawSetColor (bDrawBuffer *buffer, bDrawColor color);
     
    312323void bDrawTriOpen  (bDrawBuffer *buffer, double x1, double y1, double x2, double y2, double x3, double y3);
    313324void bDrawTriFill  (bDrawBuffer *buffer, double x1, double y1, double dx, double dy);
     325void bDrawPolyFill (bDrawBuffer *buffer, double *x, double *y, int Npoints);
     326
     327void bDrawSmooth (bDrawBuffer *buffer, float sigma);
    314328
    315329/* bDrawRotFont.c */
Note: See TracChangeset for help on using the changeset viewer.