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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

(plain) GDI (not GDI+) scaling question 1
gdi drawing 6
GDI problem 3
Graphic transforms 6
need a simple animation tool 2
gdi flickering 12
Drawing A Pixel 6
Mixing GDI+ & GDI drawing 0

Back
Top