Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp Pin
stammer1-Apr-05 23:04
stammer1-Apr-05 23:04 
GeneralRe: help Pin
Alexander M.,2-Apr-05 3:11
Alexander M.,2-Apr-05 3:11 
GeneralRe: help Pin
stammer2-Apr-05 14:07
stammer2-Apr-05 14:07 
GeneralRe: help Pin
ThatsAlok2-Apr-05 18:11
ThatsAlok2-Apr-05 18:11 
GeneralRe: help Pin
stammer3-Apr-05 13:53
stammer3-Apr-05 13:53 
GeneralRe: help Pin
Christian Graus2-Apr-05 10:35
protectorChristian Graus2-Apr-05 10:35 
GeneralRe: help Pin
stammer2-Apr-05 14:14
stammer2-Apr-05 14:14 
GeneralRe: help Pin
Christian Graus3-Apr-05 12:51
protectorChristian Graus3-Apr-05 12:51 
OK - in that case, one has to ask why you've been asked to write a magic wand tool in C++.

As I understand it, the magic wand is useless by itself ( according to the explanation I've just been given ), it marks an area on which other filters are applied. If I was going to impliment a magic wand, I reckon I'd make a mask bitmap, make it all white, and make the area that is drawn on the main image a black area on the bitmap. Then whatever filters, etc. I applied, I'd iterate through the rectangle that the bounds of that drawn area was contained in, and check for black pixels before processing pixels on the main image.


Christian

I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
GeneralRe: help Pin
stammer3-Apr-05 14:12
stammer3-Apr-05 14:12 
GeneralRe: help Pin
Christian Graus3-Apr-05 14:16
protectorChristian Graus3-Apr-05 14:16 
GeneralRe: help Pin
stammer3-Apr-05 14:40
stammer3-Apr-05 14:40 
GeneralRe: help Pin
Christian Graus3-Apr-05 15:26
protectorChristian Graus3-Apr-05 15:26 
GeneralRe: help Pin
FlyingTinman4-Apr-05 12:41
FlyingTinman4-Apr-05 12:41 
Generaldelayus in VC++ Pin
binh.pham1-Apr-05 20:09
binh.pham1-Apr-05 20:09 
GeneralRe: delayus in VC++ Pin
ThatsAlok1-Apr-05 21:43
ThatsAlok1-Apr-05 21:43 
QuestionNeed info about CxImage How to download it??? Pin
awasthy1-Apr-05 16:52
awasthy1-Apr-05 16:52 
AnswerRe: Need info about CxImage How to download it??? Pin
ThatsAlok1-Apr-05 18:10
ThatsAlok1-Apr-05 18:10 
AnswerRe: Need info about CxImage How to download it??? Pin
Ted Ferenc1-Apr-05 20:29
Ted Ferenc1-Apr-05 20:29 
GeneralRe: Need info about CxImage How to download it??? Pin
awasthy1-Apr-05 21:36
awasthy1-Apr-05 21:36 
GeneralHelp URGENT!!! Need to display an image whose path is decided at run time. Pin
awasthy1-Apr-05 16:15
awasthy1-Apr-05 16:15 
GeneralRe: Help URGENT!!! Need to display an image whose path is decided at run time. Pin
Tareq Ahmed Siraj1-Apr-05 17:47
Tareq Ahmed Siraj1-Apr-05 17:47 
GeneralQuery:Re: Help URGENT!!! Need to display an image whose path is decided at run time. Pin
awasthy1-Apr-05 21:40
awasthy1-Apr-05 21:40 
GeneralRe: Query:Re: Help URGENT!!! Need to display an image whose path is decided at run time. Pin
Tareq Ahmed Siraj1-Apr-05 22:28
Tareq Ahmed Siraj1-Apr-05 22:28 
GeneralEven with the same problems : Repaint Dialogs Pin
HackPrince1-Apr-05 13:20
HackPrince1-Apr-05 13:20 
GeneralGolden Rule in Programming... Pin
NewbieStats1-Apr-05 11:09
NewbieStats1-Apr-05 11:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.