[wadalabfont-kit] / lisp / samples / disp-test.l  

Diff of /lisp/samples/disp-test.l

Parent Directory | Revision Log

version 1.1, Thu Dec 28 08:54:19 2000 UTC version 1.2, Fri Jun 20 11:40:23 2003 UTC
Line 78 
Line 78 
   (let ((point (nth n points)))    (let ((point (nth n points)))
     `(,(toflo (car point)),(toflo (cadr point)) .,(cddr point))))      `(,(toflo (car point)),(toflo (cadr point)) .,(cddr point))))
   
 (defun skelton2list (l tag)  (defun skeleton2list (l tag)
   (let ((linkpoints nil)    (let ((linkpoints nil)
         (linelist nil)          (linelist nil)
         (outline nil)          (outline nil)
Line 421 
Line 421 
      ((ol outlines (cdr ol))       ((ol outlines (cdr ol))
       (l nil))        (l nil))
      ((atom ol))       ((atom ol))
      (setq l (skelton2list (applykanji (car ol)) tag))       (setq l (skeleton2list (applykanji (car ol)) tag))
      (cond       (cond
       ((atom l))        ((atom l))
       (t        (t
Line 485 
Line 485 
 ;  ;
   
 (defun showtest (l tag)  (defun showtest (l tag)
   (setq outline (skelton2list (applykanji l) tag))    (setq outline (skeleton2list (applykanji l) tag))
   (show (mapcar outline '(lambda (x) (link-to-out (list-to-link x))))))    (show (mapcar outline '(lambda (x) (link-to-out (list-to-link x))))))
   
 ;  ;
Line 494 
Line 494 
   
 (defun filltest (l tag)  (defun filltest (l tag)
   (init_window 400 400)    (init_window 400 400)
   (setq outline (skelton2list (applykanji l) tag))    (setq outline (skeleton2list (applykanji l) tag))
   (mapcar outline '(lambda (x)(fillpolygon (setpart1 x))))    (mapcar outline '(lambda (x)(fillpolygon (setpart1 x))))
   (redraw)    (redraw)
   (checkevent)    (checkevent)


Generate output suitable for use with a patch program
Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help