丸文字縁取り描画テスト

  • タグ:
  • タグはありません
;
redraw 0
repeat 1000
color rnd(128)+128, rnd(128)+128, rnd(128)+128
px = rnd(ginfo_winx)
py = rnd(ginfo_winy)
r = rnd(100)
circle px - r, py - r, px + r, py + r, 1
loop
;
font "", 64, 1
s = "hoge fug a\n123 4\n "
;
color
n =10 ;
rr=90 ; ()
repeat rr*n
nn= cnt \ n
rad= 3.14 * (cnt * (360/rr) / n) / 180
px = int(100.0+sin(rad)*nn+0.5)
py = int(100.0+cos(rad)*nn+0.5)
pos px, py
mes s
loop
;
color 255,255,255
pos 100, 100
mes s
;
redraw
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX