From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 9 Dec 2013 05:28:15 +0000 Message-ID: From: Conor Williams To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e0158b8f4411cf004ed1343cb Subject: Re: [9fans] libmemlayer bug Topicbox-Message-UUID: 93ad042a-ead8-11e9-9d60-3106f5b1d025 --089e0158b8f4411cf004ed1343cb Content-Type: text/plain; charset=ISO-8859-1 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 > > --089e0158b8f4411cf004ed1343cb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
and what's wrong with that?


On Mon, Dec 9, 2013 at 5:00 AM, <= span dir=3D"ltr"><cinap_lenrek@felloff.net> 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


--089e0158b8f4411cf004ed1343cb--