7cba5cc109
Fixed line endings and applied gitignore
2014-07-26 09:43:40 +03:00
Birunthan Mohanathas
76b2ce47bc
Common: Use PCH
2014-01-05 13:21:23 +02:00
Birunthan Mohanathas
7164dddefd
Disable copy constructors and copy assignment operators
2014-01-05 12:07:22 +02:00
Birunthan Mohanathas
a78de13d7b
Remove unnecessary includes
2013-12-24 11:52:28 +00:00
Birunthan Mohanathas
da92def9fc
Define WIN32_LEAN_AND_MEAN globally
2013-12-24 11:20:19 +00: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
5fcf4b785d
Gfx: Fix that empty strings have a width and/or height with D2D
2013-08-04 21:46:59 +03:00
Brian Ferguson
1e82a1659f
D2D: Undo recent W/H calculations and revert back to 37fd105
calculations
2013-08-02 15:42:37 -06:00
Brian Ferguson
bb53ddf71c
D2D: Minor tweaks
2013-08-02 14:35:08 -06:00
Brian Ferguson
9d525b1c1a
D2D: More tweaks (partially reverts ccb2731
)
...
Should account for extra padding when #CRLF# is used.
2013-08-02 14:32:07 -06:00
Brian Ferguson
ccb273117a
D2D: Tweaks
2013-08-02 09:54:14 -06:00
Birunthan Mohanathas
a1f15d9adc
Minor tweaks
2013-08-02 14:46:42 +03:00
Birunthan Mohanathas
3c8c8a1f5e
Gfx: Additional change to 37fd105
2013-07-31 13:12:15 +03:00
Birunthan Mohanathas
37fd105650
Gfx: Add Util::GetAdjustedDWriteTextLayoutMetrics to reduce code duplication
2013-07-31 13:09:48 +03:00
Birunthan Mohanathas
44300e2f41
Gfx: Change to use D2D 1.1
2013-07-30 22:38:51 +03:00
Birunthan Mohanathas
1934c5db72
Change NULL to nullptr
2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
0f6f6d48e5
Gfx: Minor fixes
2013-05-05 17:34:22 +03:00
Birunthan Mohanathas
e10cdd2a86
Gfx: Minor fix
2013-05-05 13:21:30 +03:00
Birunthan Mohanathas
31d717085e
Gfx: Fix mistakes in b737352
2013-04-13 18:58:24 +03:00
Birunthan Mohanathas
d04bb46009
Gfx: Improve D2D local font support
2013-04-12 19:41:47 +03:00
Birunthan Mohanathas
b73735251e
Gfx: Cosmetics
2013-04-12 19:18:56 +03:00
Birunthan Mohanathas
d50c2ed33f
Gfx: Add support for local fonts with D2D
...
This does not yet work with family names containing e.g. 'Light'.
2013-04-12 18:12:45 +03:00
Birunthan Mohanathas
4b95f07ca6
Add missing files in 4f26f77
2013-04-12 18:06:51 +03:00
Birunthan Mohanathas
b8bda82226
Gfx: Cosmetics
2013-04-12 17:14:43 +03:00
Birunthan Mohanathas
ad9149b143
Gfx: Move WIC files to Util
2013-04-12 17:09:42 +03:00
Birunthan Mohanathas
3827353c08
Gfx: Implement DWrite interfaces required for loading fonts
2013-04-12 17:05:21 +03:00