One pixel drawing issue with bar pen
Posted: Wed Dec 21, 2011 2:21 pm
Hello,
I noticed a pixel error in the way the bar pen is drawn. The following picture shows the case where I have two bars, one white and one gray. The white is behind the gray one, and it has a 1px black pen, whereas the gray doesn't have a pen.
As you can see, the line is drawn inside the bar on the left-hand side, and outside on the right. It is only a single pixel that is affected by this, if you set the pen width to 10 px, there will still be a single pixle error on the right hand side.
Is there a way to specify that the pen should be drawn outside the bar?
I noticed a pixel error in the way the bar pen is drawn. The following picture shows the case where I have two bars, one white and one gray. The white is behind the gray one, and it has a 1px black pen, whereas the gray doesn't have a pen.
As you can see, the line is drawn inside the bar on the left-hand side, and outside on the right. It is only a single pixel that is affected by this, if you set the pen width to 10 px, there will still be a single pixle error on the right hand side.
Is there a way to specify that the pen should be drawn outside the bar?