{"action":"closed","issue":{"url":"https://api.github.com/repos/mity/mctrl/issues/36","labels_url":"https://api.github.com/repos/mity/mctrl/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/mity/mctrl/issues/36/comments","events_url":"https://api.github.com/repos/mity/mctrl/issues/36/events","html_url":"https://github.com/mity/mctrl/issues/36","id":54132757,"number":36,"title":"Direct2D support","user":{"login":"mity","id":873269,"avatar_url":"https://avatars.githubusercontent.com/u/873269?v=3","gravatar_id":"","url":"https://api.github.com/users/mity","html_url":"https://github.com/mity","followers_url":"https://api.github.com/users/mity/followers","following_url":"https://api.github.com/users/mity/following{/other_user}","gists_url":"https://api.github.com/users/mity/gists{/gist_id}","starred_url":"https://api.github.com/users/mity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mity/subscriptions","organizations_url":"https://api.github.com/users/mity/orgs","repos_url":"https://api.github.com/users/mity/repos","events_url":"https://api.github.com/users/mity/events{/privacy}","received_events_url":"https://api.github.com/users/mity/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mity/mctrl/labels/3%20-%20Done","name":"3 - Done","color":"CCCCCC"},{"url":"https://api.github.com/repos/mity/mctrl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"mity","id":873269,"avatar_url":"https://avatars.githubusercontent.com/u/873269?v=3","gravatar_id":"","url":"https://api.github.com/users/mity","html_url":"https://github.com/mity","followers_url":"https://api.github.com/users/mity/followers","following_url":"https://api.github.com/users/mity/following{/other_user}","gists_url":"https://api.github.com/users/mity/gists{/gist_id}","starred_url":"https://api.github.com/users/mity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mity/subscriptions","organizations_url":"https://api.github.com/users/mity/orgs","repos_url":"https://api.github.com/users/mity/repos","events_url":"https://api.github.com/users/mity/events{/privacy}","received_events_url":"https://api.github.com/users/mity/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-13T00:24:45Z","updated_at":"2015-02-08T08:11:13Z","closed_at":"2015-02-08T08:11:13Z","body":"<!---\r\n@huboard:{\"order\":36.0,\"milestone_order\":36,\"custom_state\":\"\"}\n-->\r\n\r\nGoals:\r\n - Implement new internal API for high quality graphics with support for anti-aliasing and alpha channel.\r\n - Whenever available (>= Win Vista with SP), it shall use Direct2D and DirectWrite.\r\n - Fall back to GDI+ (older Windows).\r\n - Both Direct2d/DirectWrite and GDI+ implementation must use single (universal) interface to not overly complicate control implementations.\r\n - Migrate the controls using `gdix.c` (chart, imgview) to the new API (`xdraw.c`).\r\n\r\nRisks/complications:\r\n - Support for Direct2D and DirectWrite is a bleeding edge in mingw-w64. May need patches.\r\n - DirectWrite does not support C (only C++), even in MSVC with MS SDK.\r\n - In some aspects, Direct2D and GDI+ have quite different interface differences so defining new interface in a sane way is hard.\r\n\r\nWork in progress in the branch \"direct2d\". The branch shall be removed after the task is completed and result merged into master."}}