mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Add GDI+ specific temporary solution for transformations
This commit is contained in:
@ -2527,13 +2527,9 @@ void CMeterWindow::Redraw()
|
||||
const Matrix* matrix = (*j)->GetTransformationMatrix();
|
||||
if (matrix && !matrix->IsIdentity())
|
||||
{
|
||||
// TODO FIXME: Change the world matrix
|
||||
//m_Canvas->GetGraphics().SetTransform(matrix);
|
||||
|
||||
m_Canvas->SetTransform(*matrix);
|
||||
(*j)->Draw(*m_Canvas);
|
||||
|
||||
// TODO FIXME: Set back to identity matrix
|
||||
//m_Canvas->GetGraphics().ResetTransform();
|
||||
m_Canvas->ResetTransform();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user