Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
QuestionPlease help as i cant remember how to do this..... Pin
stephen.darling6-Mar-10 10:41
stephen.darling6-Mar-10 10:41 
AnswerRe: Please help as i cant remember how to do this..... Pin
StarBP6-Mar-10 11:05
StarBP6-Mar-10 11:05 
GeneralRe: Please help as i cant remember how to do this..... Pin
stephen.darling6-Mar-10 11:35
stephen.darling6-Mar-10 11:35 
AnswerRe: Please help as i cant remember how to do this..... Pin
Alan N6-Mar-10 11:35
Alan N6-Mar-10 11:35 
GeneralRe: Please help as i cant remember how to do this..... Pin
stephen.darling7-Mar-10 8:56
stephen.darling7-Mar-10 8:56 
QuestionGDI+ P/Invoke Pin
StarBP6-Mar-10 10:15
StarBP6-Mar-10 10:15 
AnswerRe: GDI+ P/Invoke [modified] Pin
DaveyM696-Mar-10 10:21
professionalDaveyM696-Mar-10 10:21 
GeneralRe: GDI+ P/Invoke Pin
StarBP6-Mar-10 10:36
StarBP6-Mar-10 10:36 
Thanks, but how do I apply this using C# code? Oh, and what you showed me is normal GDI. System.Graphics uses GDI+. Is this any problem? (I have heard normal GDI is faster, though; is this true?). Here is a slightly modified version of the context within which the code is used:

                if (!isPerformanceTest)
                {
                    Renderer.Render(newDrawing /*The real method calls for this; this is an object that contains the Point[], Color, and SolidBrush*/, g));
                }

                bitmapData = bitmap.LockBits(
                    new Rectangle(0, 0, (int)(Tools.MaxWidth / reduction), (int)(Tools.MaxHeight / reduction)),
                    ImageLockMode.ReadOnly,
                    PixelFormat.Format32bppArgb);
// After this, some highly optimized math is done to compare each pixel of the drawing to the input picture


I would like some code if at all possible.
GeneralRe: GDI+ P/Invoke Pin
DaveyM696-Mar-10 10:40
professionalDaveyM696-Mar-10 10:40 
GeneralRe: GDI+ P/Invoke Pin
StarBP6-Mar-10 10:50
StarBP6-Mar-10 10:50 
QuestionCreating a web sniffer that will browse and get data from websites Pin
melquiades_is_alive6-Mar-10 8:23
melquiades_is_alive6-Mar-10 8:23 
AnswerRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn6-Mar-10 8:56
sitebuilderLuc Pattyn6-Mar-10 8:56 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
melquiades_is_alive6-Mar-10 9:05
melquiades_is_alive6-Mar-10 9:05 
AnswerRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn6-Mar-10 9:38
sitebuilderLuc Pattyn6-Mar-10 9:38 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
melquiades_is_alive6-Mar-10 9:55
melquiades_is_alive6-Mar-10 9:55 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn6-Mar-10 10:02
sitebuilderLuc Pattyn6-Mar-10 10:02 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
baranils24-May-10 5:07
baranils24-May-10 5:07 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn24-May-10 5:18
sitebuilderLuc Pattyn24-May-10 5:18 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
baranils24-May-10 5:32
baranils24-May-10 5:32 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn24-May-10 6:10
sitebuilderLuc Pattyn24-May-10 6:10 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
baranils24-May-10 7:33
baranils24-May-10 7:33 
QuestionMac OS look Pin
Wamuti6-Mar-10 5:45
Wamuti6-Mar-10 5:45 
AnswerRe: Mac OS look Pin
OriginalGriff6-Mar-10 6:18
mveOriginalGriff6-Mar-10 6:18 
GeneralRe: Mac OS look Pin
Wamuti6-Mar-10 6:25
Wamuti6-Mar-10 6:25 
AnswerRe: Mac OS look Pin
Eddy Vluggen6-Mar-10 8:53
professionalEddy Vluggen6-Mar-10 8:53 

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.