Advertisement Jump to content
Sign in to follow this  

Just Hilite cell with Quartz

This topic is 1814 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi All,
I'm porting old app and replacing old QuickDraw drawing with Quartz one. There are a lot of "hilites" in old code that typically replaces background color with selection color inside cell/rectangle. How to make same with Quartz?
What I tried is:
1) Use cache CGBitmapContextRef. It works but now app took ~300Mb of RAM (vs 50 before). From what I read I've figured out - it's conceptual mistake, triple-buffer.
2) Ok, so I've switched to Quatz "blend modes". There are a lot of them, but no one does what I need. If I change background, so text's and other colors are changed too.
I can't find a way to replace a color selectively.
Any suggestion is very appreciated.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!