Click here to Skip to main content
15,886,003 members
Home / Discussions / C#
   

C#

 
GeneralRe: Painting a button Pin
Christian Graus23-Aug-06 12:01
protectorChristian Graus23-Aug-06 12:01 
Questionone instance Pin
TAREQ F ABUZUHRI23-Aug-06 7:07
TAREQ F ABUZUHRI23-Aug-06 7:07 
AnswerRe: one instance Pin
Not Active23-Aug-06 7:59
mentorNot Active23-Aug-06 7:59 
AnswerRe: one instance Pin
Guffa23-Aug-06 8:02
Guffa23-Aug-06 8:02 
QuestionWYSIWYG Html control for Windows Form Pin
Nadia Monalisa23-Aug-06 6:56
Nadia Monalisa23-Aug-06 6:56 
AnswerRe: WYSIWYG Html control for Windows Form Pin
Chris Maunder23-Aug-06 17:06
cofounderChris Maunder23-Aug-06 17:06 
GeneralRe: WYSIWYG Html control for Windows Form Pin
emran83423-Aug-06 18:24
emran83423-Aug-06 18:24 
QuestionSafe Vs. Unsafe Pixel Processing... Pin
Shy Agam23-Aug-06 6:24
Shy Agam23-Aug-06 6:24 
I've read an article about fast pixel processing[^] posted in codeproject.
As we all know, the GetPixel() and SetPixel() functions have a lot of overhead.
So... The most common solution I've found so far was to lock the pixels in memory and perform calculations using unsafe code and pointers.

If you look at the source code provided with the article mentioned above, you'll see that AndrewVos ,the writer, does lock the pixels in memory, but instead of looping through pixels using unsafe pointers, he marshals them into an array.

I'm sure that the safe and managed code is better.
After all it IS "safe and managed". Smile | :)
But is it slower/faster than unsafe code?

Thanks in advance,
Shy.
AnswerRe: Safe Vs. Unsafe Pixel Processing... Pin
leppie23-Aug-06 6:51
leppie23-Aug-06 6:51 
Questionevent Pin
TAREQ F ABUZUHRI23-Aug-06 6:20
TAREQ F ABUZUHRI23-Aug-06 6:20 
AnswerRe: event Pin
Nader Elshehabi23-Aug-06 9:23
Nader Elshehabi23-Aug-06 9:23 
QuestionPainting a button Pin
kalyanPaladugu23-Aug-06 6:06
kalyanPaladugu23-Aug-06 6:06 
AnswerRe: Painting a button Pin
Nader Elshehabi23-Aug-06 9:35
Nader Elshehabi23-Aug-06 9:35 
GeneralRe: Painting a button Pin
kalyanPaladugu23-Aug-06 11:02
kalyanPaladugu23-Aug-06 11:02 
QuestionProject Pin
drc_no123-Aug-06 5:36
drc_no123-Aug-06 5:36 
AnswerRe: Project Pin
User 171649223-Aug-06 7:58
professionalUser 171649223-Aug-06 7:58 
GeneralRe: Project Pin
Not Active23-Aug-06 8:01
mentorNot Active23-Aug-06 8:01 
GeneralRe: Project Pin
User 171649223-Aug-06 8:35
professionalUser 171649223-Aug-06 8:35 
GeneralRe: Project Pin
drc_no123-Aug-06 8:55
drc_no123-Aug-06 8:55 
GeneralRe: Project Pin
Not Active23-Aug-06 9:04
mentorNot Active23-Aug-06 9:04 
QuestionCircular layout algorithm Pin
Vitaliy Tsvayer23-Aug-06 5:11
Vitaliy Tsvayer23-Aug-06 5:11 
AnswerRe: Circular layout algorithm Pin
Ravi Bhavnani23-Aug-06 5:30
professionalRavi Bhavnani23-Aug-06 5:30 
QuestionLogical Expressions Evaluation... Pin
Shy Agam23-Aug-06 4:49
Shy Agam23-Aug-06 4:49 
AnswerRe: Logical Expressions Evaluation... Pin
Kevin McFarlane23-Aug-06 4:54
Kevin McFarlane23-Aug-06 4:54 
AnswerRe: Logical Expressions Evaluation... Pin
Nader Elshehabi23-Aug-06 5:01
Nader Elshehabi23-Aug-06 5:01 

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.