Line drawing error (Bug #914)


Added by Gene Yu about 14 years ago. Updated almost 12 years ago.


Status:Cancelled Start date:
Priority:Low Due date:
Assignee:- % Done:

0%

Category:core
Target version:-
Affected version:pre 2.4 (deprecated) Operating System:
Difficulty: HW Platform:
Pull request:

Description

Drawing a 2-pixel 4-connected horizontal line, I get a 1x1-pixel "chip" in the line near the edge of the image. I tried to extend beyond the frame and let the line be clipped, but then I get a 2x1-pixel chip. I also tried the draw a subpixel line with the same result.

The error does not occur with vertical lines.

My platform: Linux zeus 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux

My compiler: gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)


linetest.cpp - Sample program (738 Bytes) Gene Yu, 2011-02-23 10:35 pm

linetest.png - Sample output (8.4 kB) Gene Yu, 2011-02-23 10:36 pm


Associated revisions

Revision 9d73b5f5
Added by Andrey Kamaev almost 13 years ago

Added test for #914

Revision 4da0cdb9
Added by Roman Donchenko almost 12 years ago

Merge pull request #914 from SpecLad:master

History

Updated by Alexander Shishkov almost 14 years ago

  • Status deleted (Open)

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from Normal to Low
  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Status set to Open

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Alexander Shishkov)

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Marina Kolpakova almost 13 years ago

  • Assignee set to Marina Kolpakova

Updated by yogesh yogesh about 12 years ago

I am sorry but the bug is not clear to me.

Updated by Marina Kolpakova almost 12 years ago

  • Assignee deleted (Marina Kolpakova)
  • Affected version set to pre 2.4 (deprecated)

Updated by Kirill Kornyakov almost 12 years ago

Please reopen if the issue still exist.

  • Status changed from Open to Cancelled

Also available in: Atom PDF