Morphic pixel writing

Joel Shellman joel at ikestrel.com
Wed Jul 2 05:46:26 UTC 2003


How would one draw an image in Squeak pixel by pixel (programmatically)? I
saw that generally you would subclass Morph or MorphForm or something like
that and then override the #drawOn method, but I couldn't find anything in
Canvas that would allow me to write a specific pixel. It only had lines,
rectangles, fills and such.

Thanks,

-joel



More information about the Squeak-dev mailing list