| Server IP : 138.197.176.125 / Your IP : 216.73.216.41 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/crm_easylife/libraries/tcpdf/fonts/ttf2ufm/ttf2ufm-src/other/ |
Upload File : |
/*
* see COPYRIGHT
*/
/*
* Screen for drawing the Bezier curves in text mode
*/
struct screen {
unsigned physx;
unsigned physy;
unsigned cols;
unsigned rows;
unsigned xoff;
unsigned yoff;
unsigned minx;
unsigned miny;
char *dots;
double xscale;
double yscale;
} screen;
#define screenabsdot(x,y) (screen.dots[(y)*screen.cols+(x)])
#define screendot(x,y) screenabsdot((x)+screen.xoff, (y)+screen.yoff)
/* prototypes */
double fmin(double a, double b);
int abs(int x);
void initscreen(unsigned physx, unsigned physy,
unsigned cols, unsigned rows, unsigned xoff, unsigned yoff,
unsigned minx, unsigned miny, unsigned maxx, unsigned maxy);
void drawcurve(int mark, int ax,int ay,
int bx,int by, int cx,int cy, int dx,int dy);
void drawcurvedir(int mark, int ax,int ay,
int bx,int by, int cx,int cy, int dx,int dy);
void drawdot(int mark, int x, int y);
void setabsdot(int mark, int x, int y);
void setfdot(int mark, double x, double y);
void printscreen(FILE *f);