Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
AnswerRe: WCF plugin for VS 2005 Pin
teejayem5-Jun-08 3:22
teejayem5-Jun-08 3:22 
Questiona question about kernel32.dll and user32.dll Pin
Sajjad Izadi5-Jun-08 1:16
Sajjad Izadi5-Jun-08 1:16 
AnswerRe: a question about kernel32.dll and user32.dll Pin
leppie5-Jun-08 1:20
leppie5-Jun-08 1:20 
Question[Message Deleted] Pin
vinay_K5-Jun-08 0:51
vinay_K5-Jun-08 0:51 
AnswerRe: GDI+ in C# Pin
leppie5-Jun-08 1:15
leppie5-Jun-08 1:15 
General[Message Deleted] Pin
vinay_K5-Jun-08 2:18
vinay_K5-Jun-08 2:18 
GeneralRe: GDI+ in C# Pin
#realJSOP5-Jun-08 2:46
professional#realJSOP5-Jun-08 2:46 
GeneralRe: GDI+ in C# Pin
Anthony Mushrow5-Jun-08 3:02
professionalAnthony Mushrow5-Jun-08 3:02 
How wide is this sine wave? Because if your drawing from 0-720 degrees, then your wasting time because the wave repeats every 360.

Also, if your wave doesn't change (or doesn't change very often) then it might be better to draw the wave onto a separate bitmap and then just draw the bitmap.

GDI+ is slow, mostly because it seems to do everything with transparency/alpha and if you have AA or smoothing its going to go very slow. So plotting your points is going to be a killer - what with all the separate lines being drawn, calculations to get a smooth curve, smoothing to make the actual line look nice etc. But if you only plot the points once (on to a Bitmap) and then just draw the image, it should be much faster.

EDIT: Oh yeah, and if your problem was that it ran slowly and the curve looked crappy, then you would have been much better saying that in your topic, and telling us what you already tried. Possibly saying thanks for the help in the other topic to keep the other members happy. They do love to complain y'know.

My current favourite word is: I'm starting to run out of fav. words!
-SK Genius

Game Programming articles start -here[^]-

AnswerRe: GDI+ in C# Pin
Gareth H5-Jun-08 1:16
Gareth H5-Jun-08 1:16 
GeneralRe: GDI+ in C# Pin
leppie5-Jun-08 1:17
leppie5-Jun-08 1:17 
AnswerRe: GDI+ in C# Pin
Anthony Mushrow5-Jun-08 1:17
professionalAnthony Mushrow5-Jun-08 1:17 
QuestionHow can I add new record in database using datagrid? Pin
rmedo5-Jun-08 0:49
rmedo5-Jun-08 0:49 
AnswerRe: How can I add new record in database using datagrid? Pin
Tamimi - Code5-Jun-08 2:52
Tamimi - Code5-Jun-08 2:52 
Questionproblem with TCP connection [modified] Pin
johland5-Jun-08 0:49
johland5-Jun-08 0:49 
AnswerRe: problem with TCP connection Pin
#realJSOP5-Jun-08 2:49
professional#realJSOP5-Jun-08 2:49 
GeneralRe: problem with TCP connection Pin
johland5-Jun-08 3:11
johland5-Jun-08 3:11 
QuestionArray Management Pin
DwR5-Jun-08 0:01
DwR5-Jun-08 0:01 
AnswerRe: Array Management Pin
leppie5-Jun-08 0:20
leppie5-Jun-08 0:20 
GeneralRe: Array Management Pin
DwR5-Jun-08 0:26
DwR5-Jun-08 0:26 
GeneralRe: Array Management Pin
leppie5-Jun-08 1:16
leppie5-Jun-08 1:16 
AnswerRe: Array Management Pin
Ashfield5-Jun-08 0:29
Ashfield5-Jun-08 0:29 
AnswerRe: Array Management Pin
Sajjad Izadi5-Jun-08 0:57
Sajjad Izadi5-Jun-08 0:57 
GeneralRe: Array Management Pin
moon_stick5-Jun-08 1:39
moon_stick5-Jun-08 1:39 
GeneralRe: Array Management Pin
DaveyM695-Jun-08 12:01
professionalDaveyM695-Jun-08 12:01 
GeneralRe: Array Management Pin
Robert.C.Cartaino6-Jun-08 6:12
Robert.C.Cartaino6-Jun-08 6:12 

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.