Changeset 41341 for trunk/Ohana/src/libkapa/include/kapa.h
- Timestamp:
- Apr 16, 2020, 2:04:27 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
r41340 r41341 45 45 KAPA_PLOT_BARS_OUTLINE = 4, 46 46 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, 48 50 } KapaPlotStyle; 49 51 … … 172 174 int Nx, Ny, Nbyte; 173 175 bDrawColor **pixels; 176 char **mask; 174 177 png_color *palette; 175 178 int Npalette; 179 176 180 // current drawing values: 177 181 int bWeight; … … 218 222 int KapaPNG (int fd, const char *filename); 219 223 int KapaPPM (int fd, const char *filename); 224 int KapaPDF (int fd, const char *filename, int scaleMode, int pageMode, char *pagename); 220 225 221 226 /* KiiCursor.c */ … … 256 261 int KapaGetImageData (int fd, KapaImageData *graphmode); 257 262 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); 258 267 259 268 /* KapaColors */ … … 272 281 /* RotFont.c */ 273 282 void InitRotFonts PROTO((void)); 283 void FreeRotFonts PROTO((void)); 274 284 int SetRotFont PROTO((char *name, int size)); 275 285 char *GetRotFont PROTO((int *size)); … … 282 292 int DrawRotTextInit (Display *display, Window window, GC gc, unsigned long fore, unsigned long back); 283 293 294 /* PDFRotFont.c */ 295 void PDFRotText (IOBuffer *buffer, int x, int y, char *string, int pos, double angle); 284 296 285 297 /* PSRotFont.c */ 286 298 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));289 299 int PSRotStrlen PROTO((char *c)); 290 300 … … 292 302 bDrawBuffer *bDrawBufferCreate (int Nx, int Ny, int Nbyte, png_color *palette, int Npalette); 293 303 void bDrawBufferFree (bDrawBuffer *buffer); 304 int bDrawMerge (bDrawBuffer *base, bDrawBuffer *layer); 294 305 void bDrawSetBuffer (bDrawBuffer *buffer); 295 306 void bDrawSetColor (bDrawBuffer *buffer, bDrawColor color); … … 312 323 void bDrawTriOpen (bDrawBuffer *buffer, double x1, double y1, double x2, double y2, double x3, double y3); 313 324 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); 314 328 315 329 /* bDrawRotFont.c */
Note:
See TracChangeset
for help on using the changeset viewer.
