|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <stdio.h>Go to the source code of this file.
Classes | |
| struct | potrace_progress_s |
| struct | potrace_param_s |
| struct | potrace_bitmap_s |
| struct | potrace_dpoint_s |
| struct | potrace_curve_s |
| struct | potrace_path_s |
| struct | potrace_state_s |
Macros | |
| #define | POTRACE_TURNPOLICY_BLACK 0 |
| #define | POTRACE_TURNPOLICY_WHITE 1 |
| #define | POTRACE_TURNPOLICY_LEFT 2 |
| #define | POTRACE_TURNPOLICY_RIGHT 3 |
| #define | POTRACE_TURNPOLICY_MINORITY 4 |
| #define | POTRACE_TURNPOLICY_MAJORITY 5 |
| #define | POTRACE_TURNPOLICY_RANDOM 6 |
| #define | POTRACE_CURVETO 1 |
| #define | POTRACE_CORNER 2 |
| #define | POTRACE_ENDPOINT 3 |
| #define | POTRACE_STATUS_OK 0 |
| #define | POTRACE_STATUS_INCOMPLETE 1 |
Typedefs | |
| typedef struct potrace_progress_s | potrace_progress_t |
| typedef struct potrace_param_s | potrace_param_t |
| typedef unsigned long | potrace_word |
| typedef struct potrace_bitmap_s | potrace_bitmap_t |
| typedef struct potrace_dpoint_s | potrace_dpoint_t |
| typedef struct potrace_curve_s | potrace_curve_t |
| typedef struct potrace_path_s | potrace_path_t |
| typedef struct potrace_state_s | potrace_state_t |
Functions | |
| potrace_param_t * | potrace_param_default (void) |
| void | potrace_param_free (potrace_param_t *p) |
| potrace_state_t * | potrace_trace (const potrace_param_t *param, const potrace_bitmap_t *bm) |
| void | potrace_state_free (potrace_state_t *st) |
| char * | potrace_version (void) |
| int | potrace_geojson (FILE *fout, potrace_path_t *plist, int as_polygons) |
| void | potrace_writepbm (FILE *fout, potrace_bitmap_t *bm) |
| #define POTRACE_CORNER 2 |
Definition at line 73 of file potracelib.h.
Referenced by ossimPotraceTool::Path::addPotraceCurve(), ossimPotraceTool::transformLineStrings(), and ossimPotraceTool::transformPolygons().
| #define POTRACE_CURVETO 1 |
Definition at line 72 of file potracelib.h.
| #define POTRACE_ENDPOINT 3 |
Definition at line 74 of file potracelib.h.
Referenced by ossimPotraceTool::transformLineStrings().
| #define POTRACE_STATUS_INCOMPLETE 1 |
Definition at line 104 of file potracelib.h.
| #define POTRACE_STATUS_OK 0 |
Definition at line 103 of file potracelib.h.
| #define POTRACE_TURNPOLICY_BLACK 0 |
Definition at line 17 of file potracelib.h.
| #define POTRACE_TURNPOLICY_LEFT 2 |
Definition at line 19 of file potracelib.h.
| #define POTRACE_TURNPOLICY_MAJORITY 5 |
Definition at line 22 of file potracelib.h.
| #define POTRACE_TURNPOLICY_MINORITY 4 |
Definition at line 21 of file potracelib.h.
| #define POTRACE_TURNPOLICY_RANDOM 6 |
Definition at line 23 of file potracelib.h.
| #define POTRACE_TURNPOLICY_RIGHT 3 |
Definition at line 20 of file potracelib.h.
| #define POTRACE_TURNPOLICY_WHITE 1 |
Definition at line 18 of file potracelib.h.
| typedef struct potrace_bitmap_s potrace_bitmap_t |
Definition at line 60 of file potracelib.h.
| typedef struct potrace_curve_s potrace_curve_t |
Definition at line 83 of file potracelib.h.
| typedef struct potrace_dpoint_s potrace_dpoint_t |
Definition at line 69 of file potracelib.h.
| typedef struct potrace_param_s potrace_param_t |
Definition at line 43 of file potracelib.h.
| typedef struct potrace_path_s potrace_path_t |
Definition at line 98 of file potracelib.h.
| typedef struct potrace_progress_s potrace_progress_t |
Definition at line 32 of file potracelib.h.
| typedef struct potrace_state_s potrace_state_t |
Definition at line 112 of file potracelib.h.
| typedef unsigned long potrace_word |
Definition at line 49 of file potracelib.h.
| int potrace_geojson | ( | FILE * | fout, |
| potrace_path_t * | plist, | ||
| int | as_polygons | ||
| ) |
Referenced by ossimPotraceTool::writeGeoJSON().
| potrace_param_t* potrace_param_default | ( | void | ) |
Referenced by ossimPotraceTool::execute().
| void potrace_param_free | ( | potrace_param_t * | p | ) |
| void potrace_state_free | ( | potrace_state_t * | st | ) |
| potrace_state_t* potrace_trace | ( | const potrace_param_t * | param, |
| const potrace_bitmap_t * | bm | ||
| ) |
Referenced by ossimPotraceTool::execute().
| char* potrace_version | ( | void | ) |
| void potrace_writepbm | ( | FILE * | fout, |
| potrace_bitmap_t * | bm | ||
| ) |
Referenced by ossimPotraceTool::convertToBitmap().
1.8.14