;(cond ((definedp 'kanjilib)) |
;(cond ((definedp 'kanjilib)) |
; (t (exfile 'lib.l))) |
; (t (exfile 'lib.l))) |
|
(declare (local_gothicwidth) special) |
(defun gothic2 (p1 p2 w) |
(defun gothic2 (p1 p2 w) |
(lets ((p12 (diff2 p2 p1)) |
(lets ((p12 (diff2 p2 p1)) |
(l1 (normlen2 w (rot270 p12)))) |
(l1 (normlen2 w (rot270 p12)))) |
(b2 (plus2 p2 (normlen2 w1 (diff2 p1 p2))(normlen2 w1 (diff2 p3 p2)))) |
(b2 (plus2 p2 (normlen2 w1 (diff2 p1 p2))(normlen2 w1 (diff2 p3 p2)))) |
(b3 (diff2 p3 l3))) |
(b3 (diff2 p3 l3))) |
; (break) |
; (break) |
(setq test 'bezier) |
; (setq test 'bezier) |
`(((angle .,a1) |
`(((angle .,a1) |
(,test .,(inter2 a1 a2 ratio)) |
(bezier .,(inter2 a1 a2 ratio)) |
(,test .,(inter2 a3 a2 ratio)) |
(bezier .,(inter2 a3 a2 ratio)) |
(angle .,a3)) |
(angle .,a3)) |
((angle .,b1) |
((angle .,b1) |
(,test .,(inter2 b1 b2 ratio)) |
(bezier .,(inter2 b1 b2 ratio)) |
(,test .,(inter2 b3 b2 ratio)) |
(bezier .,(inter2 b3 b2 ratio)) |
(angle .,b3))))) |
(angle .,b3))))) |
|
|
|
|