More text rendering stuff. And given how it appears I have to render DirectWrite data into a Direct2D path geometry, I might be a little bit too much in over my head here...

This commit is contained in:
Pietro Gagliardi 2015-12-23 15:19:40 -05:00
parent a9419e0cc4
commit 5698d84cf3
1 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,13 @@
// And unlike UI Automation which accidentally just forgets the 'struct' and 'enum' tags in places, <dwrite.h> is a full C++ header file, with class definitions and the use of __uuidof. Oh well :/
#include "uipriv_windows.h"
// notes:
// only available in windows 8 and newer:
// - character spacing
// - kerning control
// - justficiation (how could I possibly be making this up?!)
// - vertical text (SERIOUSLY?! WHAT THE ACTUAL FUCK, MICROSOFT?!?!?!? bonus: some parts of MSDN even say 8.1 only!)
static IDWriteFactory *dwfactory = NULL;
HRESULT initDrawText(void)