GDI+ problem

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I'm working in ManagedC++

In the OnPaint of my control I get a System::Drawing::Graphics object to
which I apply some transformation (Scaling, smoothing mode, clipping and so
on).

Later on I need to call a function of the #include <GdiPlusFlat.h> API.

How do I get a "GpGraphics*" from a "System::Drawing::Graphics^" ?
 
I'm trying to use the C++ interface.
I included <GdiPlus.h>

Which begins by "namespace Gdiplus.h".
However when I try to use it, and for example write
using namespace Gdiplus;

I have a synxatx error: "a namespace with this name does not exist"
mmhh???
what happen? what should I do?
 
Back
Top