Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » where is the ImageDraw::DrawPixel ?
where is the ImageDraw::DrawPixel ? [message #956] Thu, 09 February 2006 23:50 Go to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
How do I set the color of a single pixel in an ImageDraw? Do I need to use DrawLine(x, y, x, y+1, 0, color)? There should be a more optimal and convenient way, but I don't find it.

[Updated on: Fri, 10 February 2006 00:09]

Report message to a moderator

Re: where is the ImageDraw::DrawPixel ? [message #960 is a reply to message #956] Fri, 10 February 2006 07:32 Go to previous message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
I am using DrawRect... in those _very_rare_ cases when I need to draw single pixel.

The only usage that comes to mind is in DrawImage - but that will be replaced in new Draw by much faster direct access to RGBA image surface...


MIrek
Previous Topic: outlined text rendering [FEATURE REQUEST]- [WORKAROUND]
Next Topic: Image with Layout (iml) painted red, why?
Goto Forum:
  


Current Time: Fri Nov 01 00:42:45 CET 2024

Total time taken to generate the page: 0.03736 seconds