SetPixel in GDI+

  • Thread starter Thread starter Nie longhai
  • Start date Start date
N

Nie longhai

Hi,all

Can anyone tell me what's the best performence DrawPixel in GDI+ ?

thanks


--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ÄôÁúº£ (^^)

ÉϺ£Ôó¶ûÄáÒÇÆ÷ÓÐÏÞ¹«Ë¾
ÍøÖ·:www.xomi.cn
Óʱà:201411
µç»°:021-57513966-807
´«Õæ:021-57513966-815
ÊÖ»ú:13162055440
ÓÊÏä:[email protected]; (e-mail address removed)
µØÖ·:ÉϺ£ÊзîÏÍÇø·î³ÇÕòÉϺ£È˱¾¹¤ÒµÔ°
 
Hello,

Not sure I fully understand the question.

If you are interested in performance, avoid GDI+ totally, and do all
graphics drawing via GDI calls, such as SetPixel. Within .NET, limit GDI+
calls to GetHdc and ReleaseHdc and don't use Antialiasing or alpha channel.

Not sure if GDI+ has a SetPixel counterpart. I've never heard of one.

Generally SetPixel is a slow way of drawing.

best regards,

Robert Dede
Gigasoft, Inc.
www.gigasoft.com
 
Back
Top