More TODO work.

This commit is contained in:
Pietro Gagliardi 2016-05-06 16:12:56 -04:00
parent 9e0ff2e000
commit ac3ee981b3
2 changed files with 1 additions and 3 deletions

View File

@ -394,7 +394,7 @@ void uiDrawTransform(uiDrawContext *c, uiDrawMatrix *m)
// Direct2D uses column vectors and I don't know if this is even documented
// b) that's what Core Graphics does
// TODO see if Microsoft says to do this
dm = dm * cur; // TODO why not *= ?
dm = dm * cur; // for whatever reason operator * is defined but not operator *=
c->rt->SetTransform(&dm);
}

View File

@ -2,8 +2,6 @@
#include "uipriv_windows.hpp"
#include "draw.hpp"
// TODO convert to C++
void m2d(uiDrawMatrix *m, D2D1_MATRIX_3X2_F *d)
{
d->_11 = m->M11;