Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help in Key Event needed Pin
Alan N26-Aug-08 6:57
Alan N26-Aug-08 6:57 
GeneralRe: Help in Key Event needed Pin
Saiyed Alam26-Aug-08 7:50
Saiyed Alam26-Aug-08 7:50 
QuestionChange values of pixels in an area? Pin
gigahertz20520-Aug-08 5:35
gigahertz20520-Aug-08 5:35 
AnswerRe: Change values of pixels in an area? Pin
vikas amin20-Aug-08 7:01
vikas amin20-Aug-08 7:01 
QuestionRe: Change values of pixels in an area? Pin
Mark Salsbery20-Aug-08 7:16
Mark Salsbery20-Aug-08 7:16 
AnswerRe: Change values of pixels in an area? Pin
led mike20-Aug-08 8:17
led mike20-Aug-08 8:17 
GeneralRe: Change values of pixels in an area? Pin
Mark Salsbery20-Aug-08 8:21
Mark Salsbery20-Aug-08 8:21 
AnswerRe: Change values of pixels in an area? Pin
User 665820-Aug-08 7:38
User 665820-Aug-08 7:38 
You have two "easy" options:

* http://msdn.microsoft.com/en-us/library/system.drawing.graphics.fillrectangle.aspx[^]
* directly accessing the pixels via an unmanaged pointer in an unsafe block

I suggest you try both methods and see which one is faster.

The fastest approach would probably be to set up a DirectX graphics device and render the area using a custom pixel shader. Depending on your needs this might be a bit overkill, though.

regards

modified 12-Sep-18 21:01pm.

GeneralRe: Change values of pixels in an area? Pin
gigahertz20520-Aug-08 11:46
gigahertz20520-Aug-08 11:46 
GeneralRe: Change values of pixels in an area? Pin
Mark Salsbery20-Aug-08 15:40
Mark Salsbery20-Aug-08 15:40 
AnswerRe: Change values of pixels in an area? Pin
xieker20-Aug-08 16:46
xieker20-Aug-08 16:46 
AnswerRe: Change values of pixels in an area? Pin
xieker20-Aug-08 17:11
xieker20-Aug-08 17:11 
QuestionSearch not found Pin
netJP12L20-Aug-08 5:15
netJP12L20-Aug-08 5:15 
QuestionRe: Search not found Pin
led mike20-Aug-08 5:48
led mike20-Aug-08 5:48 
AnswerRe: Search not found Pin
netJP12L20-Aug-08 6:19
netJP12L20-Aug-08 6:19 
GeneralRe: Search not found Pin
led mike20-Aug-08 8:15
led mike20-Aug-08 8:15 
GeneralRe: Search not found Pin
netJP12L20-Aug-08 11:35
netJP12L20-Aug-08 11:35 
GeneralRe: Search not found Pin
led mike20-Aug-08 11:53
led mike20-Aug-08 11:53 
Questionwhen I clicked to the form view designer in solution explorer, form is getting crazy Pin
enginço20-Aug-08 5:15
enginço20-Aug-08 5:15 
AnswerRe: when I clicked to the form view designer in solution explorer, form is getting crazy Pin
netJP12L20-Aug-08 5:21
netJP12L20-Aug-08 5:21 
Questioncreate an xml document from string from local database Pin
laziale20-Aug-08 4:33
laziale20-Aug-08 4:33 
AnswerRe: create an xml document from string from local database Pin
DaveyM6920-Aug-08 4:50
professionalDaveyM6920-Aug-08 4:50 
GeneralRe: create an xml document from string from local database Pin
laziale20-Aug-08 5:07
laziale20-Aug-08 5:07 
GeneralRe: create an xml document from string from local database Pin
Manas Bhardwaj20-Aug-08 5:29
professionalManas Bhardwaj20-Aug-08 5:29 
GeneralRe: create an xml document from string from local database Pin
PIEBALDconsult20-Aug-08 7:34
mvePIEBALDconsult20-Aug-08 7:34 

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.