{"id":1536,"date":"2007-08-23T10:20:20","date_gmt":"2007-08-23T14:20:20","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/2007\/08\/23\/how-to-implement-a-basic-bitmap-brush\/"},"modified":"2007-08-23T10:20:20","modified_gmt":"2007-08-23T14:20:20","slug":"how-to-implement-a-basic-bitmap-brush","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2007\/08\/23\/how-to-implement-a-basic-bitmap-brush\/","title":{"rendered":"How to Implement a Basic Bitmap Brush"},"content":{"rendered":"<p>\r\n<a href=\"http:\/\/www.losingfight.com\/blog\/2007\/08\/18\/how-to-implement-a-basic-bitmap-brush\/\">Andy Finnell<\/a>:\r\n<\/p>\r\n<blockquote cite=\"http:\/\/www.losingfight.com\/blog\/2007\/08\/18\/how-to-implement-a-basic-bitmap-brush\/\">\r\n<p>\r\nTo go along with this article I have created some sample code that will demonstrate everything I talk about. It\u2019s a mixture of Cocoa and Quartz, although the ideas should work in any environment; only the API calls will change. This is within reason of course: Quartz takes care of a lot of complicated things like alpha blending and antialiasing, and if your API (like QuickDraw, GDI) can\u2019t deal with that, then you\u2019ll have a lot more work to do.\r\n<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Andy Finnell: To go along with this article I have created some sample code that will demonstrate everything I talk about. It\u2019s a mixture of Cocoa and Quartz, although the ideas should work in any environment; only the API calls will change. This is within reason of course: Quartz takes care of a lot of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1536","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1536"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1536\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}