Changeset 41340 for trunk/Ohana/src/libkapa/include/kapa.h
- Timestamp:
- Apr 16, 2020, 1:54:47 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libkapa/include/kapa.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libkapa/include/kapa.h
r41319 r41340 45 45 KAPA_PLOT_BARS_OUTLINE = 4, 46 46 KAPA_PLOT_BARS_OUTFILL = 5, 47 KAPA_PLOT_POLYGON = 6, 48 KAPA_PLOT_POLYFILL = 7, 49 KAPA_PLOT_INVALID_MAX = 8, 47 KAPA_PLOT_INVALID_MAX = 6, 50 48 } KapaPlotStyle; 51 49 … … 174 172 int Nx, Ny, Nbyte; 175 173 bDrawColor **pixels; 176 char **mask;177 174 png_color *palette; 178 175 int Npalette; 179 180 176 // current drawing values: 181 177 int bWeight; … … 222 218 int KapaPNG (int fd, const char *filename); 223 219 int KapaPPM (int fd, const char *filename); 224 int KapaPDF (int fd, const char *filename, int scaleMode, int pageMode, char *pagename);225 220 226 221 /* KiiCursor.c */ … … 261 256 int KapaGetImageData (int fd, KapaImageData *graphmode); 262 257 int KapaSetToolbox (int fd, int location); 263 int KapaSetSmoothSigma (int fd, float sigma);264 int KapaMemoryDump (int fd);265 int KapaMemoryDumpLines (int fd, int Nlines);266 int KapaMemoryDumpOnExit (int fd, int state);267 258 268 259 /* KapaColors */ … … 281 272 /* RotFont.c */ 282 273 void InitRotFonts PROTO((void)); 283 void FreeRotFonts PROTO((void));284 274 int SetRotFont PROTO((char *name, int size)); 285 275 char *GetRotFont PROTO((int *size)); … … 292 282 int DrawRotTextInit (Display *display, Window window, GC gc, unsigned long fore, unsigned long back); 293 283 294 /* PDFRotFont.c */295 void PDFRotText (IOBuffer *buffer, int x, int y, char *string, int pos, double angle);296 284 297 285 /* PSRotFont.c */ 298 286 void 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)); 299 289 int PSRotStrlen PROTO((char *c)); 300 290 … … 302 292 bDrawBuffer *bDrawBufferCreate (int Nx, int Ny, int Nbyte, png_color *palette, int Npalette); 303 293 void bDrawBufferFree (bDrawBuffer *buffer); 304 int bDrawMerge (bDrawBuffer *base, bDrawBuffer *layer);305 294 void bDrawSetBuffer (bDrawBuffer *buffer); 306 295 void bDrawSetColor (bDrawBuffer *buffer, bDrawColor color); … … 323 312 void bDrawTriOpen (bDrawBuffer *buffer, double x1, double y1, double x2, double y2, double x3, double y3); 324 313 void bDrawTriFill (bDrawBuffer *buffer, double x1, double y1, double dx, double dy); 325 void bDrawPolyFill (bDrawBuffer *buffer, double *x, double *y, int Npoints);326 327 void bDrawSmooth (bDrawBuffer *buffer, float sigma);328 314 329 315 /* bDrawRotFont.c */
Note:
See TracChangeset
for help on using the changeset viewer.
