Commit Graph

12 Commits

Author SHA1 Message Date
18d5ee383d Gfx: Wrap pointers with std::unique_ptr 2013-05-01 14:38:52 +03:00
eb5044b6fb Gfx: Change COM pointers to use WRL::ComPtr 2013-05-01 14:10:31 +03:00
ad9149b143 Gfx: Move WIC files to Util 2013-04-12 17:09:42 +03:00
3827353c08 Gfx: Implement DWrite interfaces required for loading fonts 2013-04-12 17:05:21 +03:00
0b3a4d86c4 Gfx: Add FontCollection implementation
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +03:00
53c6966819 Gfx: Tweaks 2013-04-08 17:21:47 +03:00
12bd890aef Gfx: Cosmetics 2013-04-07 14:32:41 +03:00
2f8f67e2cf Gfx: Make D2D font family name handling more consistent with GDI+ 2013-04-07 14:30:50 +03:00
59b3dea21c Gfx: Added support for TransformationMatrix and Angle (for String meters) 2013-04-05 02:35:20 -06:00
c6374f7c12 Minor tweaks and fixes 2013-03-28 14:26:55 +02:00
5f03d7b235 Gfx: Fix rendering issues in some cases
It seems that Direct2D does not expect the underlying pixel data of the render target to change outside of the target draw commands while the render target exists. As a result, Direct2D may in some cases overwrite changes to the pixel data. This change changes the render target to be (re)created for each batch of Direct2D drawing operations as a temporary solution. As a side effect, a DIB section is now used as the render target bitmap.
2013-03-26 21:29:05 +02:00
82970d1cce Gfx: Add initial work
Gfx provides support for rendering with both Direct2D and GDI+.
2013-03-25 17:37:20 +02:00