[Newbies] graphics question
peace_the_dreamer at yahoo.com
Thu Apr 30 05:12:45 UTC 2009
The screening morph mentioned in previous posts is good.
Another interesting way do overlay images is to put them in as the graphic for a BitmapFill in a polygon. Then adjust the shape to show just the part you want.
For jigsaw pieces use a bunch of polygons.
Line up polygons then giving each the same image for a fill and aligning the fill origin at the same point on the screen for each fill. Each polygon has its piece of the puzzle.
Moving the polygons then moves the piece.
Yours in curiosity and service, --Jerome Peace.
--- On Wed, 4/29/09, Derek O'Connell <doconnel at gmail.com> wrote:
> From: Derek O'Connell <doconnel at gmail.com>
> Subject: Re: [Newbies] graphics question
> To: "A friendly place to get answers to even the most basic questions about Squeak." <beginners at lists.squeakfoundation.org>
> Date: Wednesday, April 29, 2009, 11:31 AM
> ScreeningMorph example:
> pop.mail.yahoo.com wrote:
> > Hello,
> > Could someone point me to an example of the best way
> to combine 2 images using color masking. I am using an
> ImageMorph with an image loaded and would like to overlay
> other images. I am thinking of trying BitBlt, but am
> wondering if there is an easier way.
> > Thanks.
More information about the Beginners