#include "mfcpch.h"
#include <stdio.h>
#include "polyaprx.h"
#include "params.h"
#include "tprintf.h"
Defines | |
#define | FASTEDGELENGTH 256 |
#define | EXTERN |
#define | FIXED 4 |
#define | RUNLENGTH 1 |
#define | DIR 2 |
#define | FLAGS 0 |
#define | fixed_dist 20 |
#define | approx_dist 15 |
Functions | |
TESSLINE * | ApproximateOutline (C_OUTLINE *c_outline) |
EDGEPT * | edgesteps_to_edgepts (C_OUTLINE *c_outline, EDGEPT edgepts[]) |
void | fix2 (EDGEPT *start, int area) |
EDGEPT * | poly2 (EDGEPT *startpt, int area) |
void | cutline (EDGEPT *first, EDGEPT *last, int area) |
Variables | |
EXTERN bool | poly_debug = FALSE |
EXTERN bool | poly_wide_objects_better = TRUE |
const int | par1 = 4500 / (approx_dist * approx_dist) |
const int | par2 = 6750 / (approx_dist * approx_dist) |
#define approx_dist 15 |
#define DIR 2 |
#define EXTERN |
#define FASTEDGELENGTH 256 |
#define FIXED 4 |
#define fixed_dist 20 |
#define FLAGS 0 |
#define RUNLENGTH 1 |
void fix2 | ( | EDGEPT * | start, | |
int | area | |||
) |
const int par1 = 4500 / (approx_dist * approx_dist) |
const int par2 = 6750 / (approx_dist * approx_dist) |
EXTERN bool poly_debug = FALSE |
"Debug old poly"
EXTERN bool poly_wide_objects_better = TRUE |
"More accurate approx on wide things"