Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Effect Class

Effect Class

Scheduled Pinned Locked Moved C / C++ / MFC
winformsgraphics
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Force Code
    wrote on last edited by
    #1

    The GDI+ documentation describes the Effect Class and numerous subclasses of it (HueSaturationLightness, Tint, ColorBalance, Blur, etc.) I can't find these in any of the GDI+ header files downloaded as part of the PlatformSDK from Microsoft. Also, they don't even appear to be in gdiplus.dll. Does anyone know the header files and dll they're in. Thanx

    P 1 Reply Last reply
    0
    • F Force Code

      The GDI+ documentation describes the Effect Class and numerous subclasses of it (HueSaturationLightness, Tint, ColorBalance, Blur, etc.) I can't find these in any of the GDI+ header files downloaded as part of the PlatformSDK from Microsoft. Also, they don't even appear to be in gdiplus.dll. Does anyone know the header files and dll they're in. Thanx

      P Offline
      P Offline
      Perspx
      wrote on last edited by
      #2

      They should be in gdiplus.dll.. Check that you have the latest version.. I know that GDI+ is fully supported in Visual Studio so you could use that if you have access to that? I'm not sure if it's supported in the Express versions, if it is you could try using Visual C++ express free from MS Hope this helps! --PerspX

      F 1 Reply Last reply
      0
      • P Perspx

        They should be in gdiplus.dll.. Check that you have the latest version.. I know that GDI+ is fully supported in Visual Studio so you could use that if you have access to that? I'm not sure if it's supported in the Express versions, if it is you could try using Visual C++ express free from MS Hope this helps! --PerspX

        F Offline
        F Offline
        Force Code
        wrote on last edited by
        #3

        Do you know which header files they're declared in?

        P M 2 Replies Last reply
        0
        • F Force Code

          Do you know which header files they're declared in?

          P Offline
          P Offline
          Perspx
          wrote on last edited by
          #4

          Well the main header file for GDI+ is obviously gdiplus.h. There are then other GDI+ header files which are used, however I believe that they are all included from gdiplus.h anyway, so that shouldn't be a problem.. What happens at compile time with your project? Hope this helps! --PerspX

          F 1 Reply Last reply
          0
          • P Perspx

            Well the main header file for GDI+ is obviously gdiplus.h. There are then other GDI+ header files which are used, however I believe that they are all included from gdiplus.h anyway, so that shouldn't be a problem.. What happens at compile time with your project? Hope this helps! --PerspX

            F Offline
            F Offline
            Force Code
            wrote on last edited by
            #5

            Perspx wrote:

            Well the main header file for GDI+ is obviously gdiplus.h. There are then other GDI+ header files which are used, however I believe that they are all included from gdiplus.h anyway, so that shouldn't be a problem.. What happens at compile time with your project?

            The compiler's not finding the declarations (compiler error). I'm using Dev-C++ as a compiler (mingw - its gnu or something). I downloaded the PlatformSDK a couple of weeks ago, and have compiled and ran GDI+ code using The Bitmap, Font, and TextureBrush classes, etc. with no problem. I have numerous GDI+ headers, none of them contain the Effect classes. If you can do a "Find in File HueSaturationLightness *.h", I'd appreciate it.

            P 1 Reply Last reply
            0
            • F Force Code

              Do you know which header files they're declared in?

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              GDI+ is included with the operating system, not a part of Visual Studio. As stated by Perspx, according to the docs for the Effect class: "Declared in Gdipluseffects.h, include gdiplus.h" Mark

              Mark Salsbery Microsoft MVP - Visual C++

              P 1 Reply Last reply
              0
              • F Force Code

                Perspx wrote:

                Well the main header file for GDI+ is obviously gdiplus.h. There are then other GDI+ header files which are used, however I believe that they are all included from gdiplus.h anyway, so that shouldn't be a problem.. What happens at compile time with your project?

                The compiler's not finding the declarations (compiler error). I'm using Dev-C++ as a compiler (mingw - its gnu or something). I downloaded the PlatformSDK a couple of weeks ago, and have compiled and ran GDI+ code using The Bitmap, Font, and TextureBrush classes, etc. with no problem. I have numerous GDI+ headers, none of them contain the Effect classes. If you can do a "Find in File HueSaturationLightness *.h", I'd appreciate it.

                P Offline
                P Offline
                Perspx
                wrote on last edited by
                #7

                Hmm.. It is pretty odd.. I have looked through the VS header files and there doesn't appear to be any reference to any of the effects classes as previously mentioned (I am using VS 2005 Professional). I have used GDI+ on several occasions, but I have not used any of the effects classes. I'm very sorry I cannot help you any further. --PerspX

                1 Reply Last reply
                0
                • M Mark Salsbery

                  GDI+ is included with the operating system, not a part of Visual Studio. As stated by Perspx, according to the docs for the Effect class: "Declared in Gdipluseffects.h, include gdiplus.h" Mark

                  Mark Salsbery Microsoft MVP - Visual C++

                  P Offline
                  P Offline
                  Perspx
                  wrote on last edited by
                  #8

                  Odd.. my copy of Visual Studio doesn't seem to have Gdipluseffects.dll :S sorry about that.. I would have been able to help you sooner otherwise.. Thanks for clearing that up Mark :) --PerspX

                  M 1 Reply Last reply
                  0
                  • P Perspx

                    Odd.. my copy of Visual Studio doesn't seem to have Gdipluseffects.dll :S sorry about that.. I would have been able to help you sooner otherwise.. Thanks for clearing that up Mark :) --PerspX

                    M Offline
                    M Offline
                    Mark Salsbery
                    wrote on last edited by
                    #9

                    :) I didn't clear anything up (well, maybe the part about GDI+ not being part of Visual Studio ;)). AFAIK you had it right - include gdiplus.h should be all the OP needs to do. Cheers! Mark

                    Mark Salsbery Microsoft MVP - Visual C++ "Go that way, really fast. If something gets in your way, turn."

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups