Split d2d integration into own class.
This commit is contained in:
parent
0d3674faac
commit
0c84a53643
25 changed files with 361 additions and 155 deletions
|
@ -1,11 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
class AbstractGeometricItem;
|
||||
|
||||
struct ID2D1DeviceContext2;
|
||||
class DirectX2dInterface;
|
||||
|
||||
class DirectX2dPainter
|
||||
{
|
||||
public:
|
||||
void paint(ID2D1DeviceContext2* context, AbstractGeometricItem* item);
|
||||
void paint(AbstractGeometricItem* item);
|
||||
|
||||
void setD2dInterface(DirectX2dInterface* d2dIterface);
|
||||
|
||||
private:
|
||||
DirectX2dInterface* mD2dInterface{ nullptr };
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue