hypeartist / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

Painter::drawPoint(), bila na bilem pozadi, artefakty #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Kdyz kreslim nekolik bilych bodu s tloustkou cary napr. 15 do obrazku na
bilem pozadi, renderuji se do nej artefakty (takovy maly tecky a carky),
viz. screenshot. Prikladam i kod, jedna se o takovou stupidni aplikaci,
ktera skoro nic neumi a je tam jakysi pokus o kreslici canvas. Ale v
podstate je to tam nejak takto

Image im(500, 350, Image::FormatARGB32);
im.clear(0xffffffff);
Painter p(im);
p.setSource(0xffffffff);
p.setLineWidth(15);
p.drawPoint(tam_kde_bylo_kliknuto_mysi);
p.end();

Original issue reported on code.google.com by jardas...@gmail.com on 16 Jul 2009 at 5:00

Attachments:

GoogleCodeExporter commented 8 years ago
Accepted, problem is in Raster::ARGB32.

Original comment by kobalicek.petr on 16 Jul 2009 at 6:07

GoogleCodeExporter commented 8 years ago
Fixed in trunk

Original comment by kobalicek.petr on 28 Jul 2009 at 8:02