iphone - Overlapping and touching CoreGraphics rectangles have a .5px border -


My original graphics are working strange when together, touch or overlap, this problem is iPhone simulator and iPhone OS 2.2 Is on.

Here we have two labels and a custom view with two CGTtex filters ():

When blue and red are brought together, they Disturb the .5px merge line to develop. I do not seem to get rid of this, or it can change its color.

In this version there is a difference of 1px between rectangles and it is definitely black of the background:

I have to disable anti-aliasing Have tried, but it does not fix the problem.

  - (zero) Draw Draw: (CGRTact) Rect {CGContextRef reference = UIGRCT Content Contains (); CGContextSetAllowsAntialiasing (context, incorrect); CGContextSetRGBFillColor (Reference, 0.0, 0.0, 1.0, 1.0); CGContextFillRect (Reference, CGRectMake (20.0, 35.0 + 40 + 20, 100, 40)); CGContextSetRGBFillColor (Reference, 1.0, 0.0, 0.0, 1.0); CGContextFillRect (Reference, CGRectMake (20.0 + 100, 35.0 + 40 + 20, 100, 40)); CGContextSetAllowsAntialiasing (context, true);  

}

Any thoughts?

There is no flaw, it is an optical illusion, uniting your eye R & B values ​​together And describes the white overlap.

See pixy (part of the encoded) or (upgrade payment by iconfunter) with graphics.

http://www.freeimagehosting.net/uploads/th.e015daef50.png>


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -