TIB: Icons on the 92+
[Prev][Next][Index][Thread]
TIB: Icons on the 92+
Does anyone know a faster way to draw a matrix-based icon? Here's the code
I'm using:
-begin code fragment-
for b,1,8,1
for a,1,8,1
if map[b,a]=1
then
for d,1,8,1
for c,1,8,1
if image[d,c]=1
pxlon d+f,c+e
endfor
endfor
endif
e+8->e
endfor
1->e
f+8->f
endfor
-End code fragment-
all the -> s are the store var arrows. All variables are local. Image and map
are the matrixes containing 1s and 0s (both 8x8)
<A HREF="http://prym.8m.com/">Prym.8m.Com!</A> Check out my site!
Matthew Renner, CEO Right Side Minds Battlefield Technology
Former Mercenary
Programmers Anonymous: <A HREF="http://pa.ticalc.org/">http://pa.ticalc.org</A
>
ICQ: 55807773
TI-Calc ActiveList: 58286255
Follow-Ups: