Click here to Skip to main content
15,914,416 members
Home / Discussions / C#
   

C#

 
GeneralC# .NET question Pin
zimbar15-Jul-02 21:10
zimbar15-Jul-02 21:10 
GeneralRe: C# .NET question Pin
Andy Smith15-Jul-02 21:13
Andy Smith15-Jul-02 21:13 
GeneralRe: C# .NET question Pin
James T. Johnson15-Jul-02 21:21
James T. Johnson15-Jul-02 21:21 
GeneralRe: C# .NET question Pin
Christian Graus16-Jul-02 1:27
protectorChristian Graus16-Jul-02 1:27 
GeneralRe: C# .NET question Pin
Eric Gunnerson (msft)16-Jul-02 5:33
Eric Gunnerson (msft)16-Jul-02 5:33 
GeneralRe: C# .NET question Pin
Christian Graus16-Jul-02 10:44
protectorChristian Graus16-Jul-02 10:44 
GeneralRe: C# .NET question Pin
Anonymous16-Jul-02 12:00
Anonymous16-Jul-02 12:00 
GeneralRe: C# .NET question Pin
Christian Graus16-Jul-02 12:32
protectorChristian Graus16-Jul-02 12:32 
Anonymous wrote:
Was the code written using GetPixel and SetPixel()?

Mine was not, that would not be unsafe. I assume Chris' was not either - he writes an imaging library, you know.

Anonymous wrote:
What other option was there besides making pixel access unsafe? I don't like it either, but I can't see how you can be fast without being pointer-based.

The obvious option is a function that returns the bitmap as a 2D array. How do you think every array in memory is laid out ? There is no reason to regard it as unsafe to access the member data of the Bitmap class.


Christian

come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002
GeneralRe: C# .NET question Pin
Eric Gunnerson (msft)17-Jul-02 12:49
Eric Gunnerson (msft)17-Jul-02 12:49 
GeneralRe: C# .NET question Pin
Christian Graus17-Jul-02 13:07
protectorChristian Graus17-Jul-02 13:07 
GeneralRe: C# .NET question Pin
Eric Gunnerson (msft)17-Jul-02 13:38
Eric Gunnerson (msft)17-Jul-02 13:38 
GeneralRe: C# .NET question Pin
Feng Qin16-Jul-02 15:09
Feng Qin16-Jul-02 15:09 
GeneralCollections and Controls Pin
Paul Selormey15-Jul-02 18:50
Paul Selormey15-Jul-02 18:50 
GeneralIterate and modify Pin
J. Ehrnström15-Jul-02 14:10
J. Ehrnström15-Jul-02 14:10 
GeneralRe: Iterate and modify Pin
James T. Johnson15-Jul-02 14:29
James T. Johnson15-Jul-02 14:29 
GeneralRe: Iterate and modify Pin
J. Ehrnström15-Jul-02 15:02
J. Ehrnström15-Jul-02 15:02 
GeneralRe: Iterate and modify Pin
Eric Gunnerson (msft)16-Jul-02 5:32
Eric Gunnerson (msft)16-Jul-02 5:32 
GeneralRe: Iterate and modify Pin
J. Ehrnström17-Jul-02 1:29
J. Ehrnström17-Jul-02 1:29 
GeneralReflection Pin
Christian Graus15-Jul-02 12:28
protectorChristian Graus15-Jul-02 12:28 
GeneralRe: Reflection Pin
Andy Smith15-Jul-02 13:50
Andy Smith15-Jul-02 13:50 
GeneralRe: Reflection Pin
Christian Graus15-Jul-02 13:55
protectorChristian Graus15-Jul-02 13:55 
GeneralRe: Reflection Pin
Andy Smith15-Jul-02 14:13
Andy Smith15-Jul-02 14:13 
GeneralRe: Reflection Pin
Christian Graus15-Jul-02 14:19
protectorChristian Graus15-Jul-02 14:19 
GeneralRemoting and Load balancing in Multi tier Pin
Orion Buttigieg15-Jul-02 12:21
Orion Buttigieg15-Jul-02 12:21 
GeneralPosition in file Pin
Nnamdi Onyeyiri15-Jul-02 10:28
Nnamdi Onyeyiri15-Jul-02 10:28 

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.