(#\n (newpart 'shin-nyuu)) |
(#\n (newpart 'shin-nyuu)) |
(#\c (concat)) |
(#\c (concat)) |
(#\q (close_window) |
(#\q (close_window) |
(prind `(setq ,symbol ',(convskelton1 (convskelton (add-link partlist)))))(exit)) |
(prind `(setq ,symbol ',(convskeleton1 (convskeleton (add-link partlist)))))(exit)) |
; (#\r (reset)) |
; (#\r (reset)) |
(#\i (setq partlist nil linkpoints nil) |
(#\i (setq partlist nil linkpoints nil) |
(setq nolinkpoints nil linknumber 0)) |
(setq nolinkpoints nil linknumber 0)) |
(movepoint curx cury x y))) |
(movepoint curx cury x y))) |
(disp))) |
(disp))) |
(defun showfill (fonttype) |
(defun showfill (fonttype) |
(fill1 (convskelton1 (convskelton (add-link partlist))) fonttype)) |
(fill1 (convskeleton1 (convskeleton (add-link partlist))) fonttype)) |
(defun fill1 (l tag) |
(defun fill1 (l tag) |
(let ((outline nil)) |
(let ((outline nil)) |
(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))) |
(defprop kagi 3 npoint) |
(defprop kagi 3 npoint) |
(defprop shin-nyuu 3 npoint) |
(defprop shin-nyuu 3 npoint) |
|
|
(defun convskelton (prim) |
(defun convskeleton (prim) |
(let ((linkpoints nil) |
(let ((linkpoints nil) |
(points nil) |
(points nil) |
(linkcount 0) |
(linkcount 0) |
(t |
(t |
(push pointnmb line))))))) |
(push pointnmb line))))))) |
|
|
(defun convskelton1(prim) |
(defun convskeleton1(prim) |
(cond |
(cond |
((atom prim)prim) |
((atom prim)prim) |
(t |
(t |