?
Solved

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

Posted on 2002-07-29
2
Medium Priority
?
262 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month8 days, 9 hours left to enroll

764 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