[libGD] #79 [Comment added] arc's are drawn incorrectly (plus regression in 2.0.35RC2)

[email protected] (libGD) Tue, 08 May 2007 08:17:56 +0000
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#79 - arc's are drawn incorrectly (plus regression in 2.0.35RC2)
User who did this - Pierre Joye (Pierre)

----------
"There are still problems with the latest from CVS. Diagonal lines use incorrect width and are antialiased against the wrong color (black instead of transparent?)."

Do you mean when the thickness > 1? Antialiased lines do not support thickness > 1, it is always 1. If not and if the wrong color still appears, do you have a sample code and result (only the line)? I cannot reproduce the problem here. 45° line are not really antialiased are they are pixel aligned, each point of the lines cover a complete pixel (end points are always on a pixel):
<code>
[X]
   [X]
      [X]
</code>

Maybe it is what you are seeing?

"Attached is the same circle made w/lines, at thickness of 6, anti-aliased against transparent (0,0,0,127).
The same drawing operations look correct when not using truecolor png, or when saveAlpha is 0. "

Thickness does not work, it will only work correctly in 2.1.0. When the thickness>1, it will draws many times the same spans (blending over and over the same pixels).

Am I right to think that it actually works for you now (like with 2.0.33)? :)

The improvements (thickness>1 and transparency) will be done later, in the 2.1.x branch.


----------

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=79#comment251

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.