Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Where to find a curve control like the one in Photoshop (ctrl-M) for C++ ???

Posted on 2002-07-29
2
Medium Priority
?
275 Views
Last Modified: 2013-11-20
Hello,

I need to implement something similar to filters for a
bitmap application I am developing. The ideal control
would be something like Photoshop is using. It displays
a graph and the user can alter the curve, change its slope,
origin, ending and what not... That what I need but I have
been unable to find any such control!!!

the basic idea if to allow the user to specify that
below such pixel value (0-255), all pixels should be = y.
He sould also be able to specify than above a certain value
all pixel should be = y. And in between those min and max
the pixel should follow a curve so that if its value is
x, it will be replaced by f(x), where f is defined by the
control and the curve the user "draws"...

Do you know of any I can have control that is behaving just
like the one in photoshop (free hopefully) and any doc
on how to implement one?

thanks for any information, such a control would simplify
the user interface and make the software that more
attractive ;-)



0
Comment
Question by:aquila98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
migel earned 400 total points
ID: 7185463
hi! can you implement code from this article
http://www.codeguru.com/gdi/Spline.html
0
 
LVL 2

Author Comment

by:aquila98
ID: 7185609
Thanks,

with this I was able to bet a working demo and work from there :)
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question