and what's wrong with that? On Mon, Dec 9, 2013 at 5:00 AM, wrote: > just compile it. > > basically the 2nd part of the code is supposed to look like the first. > > the difference is just that the first part uses an intermediate image, > the 2nd part draws directly on the screen image (a layer). > > without the fix, you get a 4 pixel red hook inside the blue rect. > > with the fix, theres just a red and a blue rectangle one pixel > shifted apart and the blue one is overlapping the red one. > > -- > cinap > >