7cba5cc109
Fixed line endings and applied gitignore
2014-07-26 09:43:40 +03:00
Birunthan Mohanathas
7164dddefd
Disable copy constructors and copy assignment operators
2014-01-05 12:07:22 +02:00
Birunthan Mohanathas
ca41a4575c
Gfx: Handle failed creation of D2D text layout
2013-10-15 17:09:41 +03:00
Birunthan Mohanathas
12e0564f3e
Gfx: Avoid clipping with D2D when not needed
2013-08-12 18:50:24 +03:00
Birunthan Mohanathas
0afbdac9fe
Gfx: Add some tests for TextFormatD2D
2013-08-11 14:12:23 +03:00
Birunthan Mohanathas
6e04fd983f
Gfx: Make AccurateText=0 more consistent with GDI+ for D2D
...
The height is now based on a formula that should be exactly equal to that provided by GDI+. The padding should now be equal on the left and right sides now. There may be some discrepancies in overall width, but it should always be reasonably to close to GDI+.
In addition, this makes D2D behavior match GDI+ when a newline character is the last character of the text.
2013-08-10 13:54:53 +03:00
Birunthan Mohanathas
44300e2f41
Gfx: Change to use D2D 1.1
2013-07-30 22:38:51 +03:00
Birunthan Mohanathas
eb5044b6fb
Gfx: Change COM pointers to use WRL::ComPtr
2013-05-01 14:10:31 +03:00
Birunthan Mohanathas
4f26f777c9
Gfx: Move DWrite helpers to Util
2013-04-12 17:31:12 +03:00
Birunthan Mohanathas
507e0294fe
Gfx: Add comments
2013-04-09 20:54:40 +03:00
Birunthan Mohanathas
0b3a4d86c4
Gfx: Add FontCollection implementation
...
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +03:00
Birunthan Mohanathas
4d22c5ac61
Gfx: Improve D2D support for subfamilies like 'Light'
2013-04-08 18:24:09 +03:00
Birunthan Mohanathas
7c90f65659
Gfx: Tweaks
2013-04-08 17:29:26 +03:00
Birunthan Mohanathas
2f8f67e2cf
Gfx: Make D2D font family name handling more consistent with GDI+
2013-04-07 14:30:50 +03:00
Birunthan Mohanathas
e5100d9a9f
Gfx: Make text rendering with D2D more efficient by reusing layout
2013-03-28 15:51:12 +02:00
Birunthan Mohanathas
71a454f954
Gfx: Cosmetic tweaks
2013-03-28 15:11:55 +02:00
Birunthan Mohanathas
39fe9750fd
Gfx: Add temporary solution for local fonts
2013-03-28 15:09:46 +02:00
Birunthan Mohanathas
82970d1cce
Gfx: Add initial work
...
Gfx provides support for rendering with both Direct2D and GDI+.
2013-03-25 17:37:20 +02:00