Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/vajra.id/public_html/application/third_party/dompdf/lib/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);