[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simple graphics question


is there a simple (ie built-in) way to obtain a list of indices (points) of a 2d-array that
would be "touched" if a line was drawn?


2d-array bob  100x100

if we "draw" from 20,20 to 27,32 i would like a list of "touched" indices 
like (20 20 21 23 ...) returned

basically the equivalent to graphics:compute-cubic-spline-points but for a simple line