Re: Drawing a Pixel?
- From: "Mike Powell" <michael@xxxxxxxxxxxx>
- Date: Thu, 1 Feb 2007 09:57:00 +0100
Hi Brian,
You can use System.Drawing.Brush, just use the Color.FromArgb, this lets you
define any color you can give it an Alpha value to control
opacity/transparency.
Regards,
Mike Powell
www.ramuseco.com
Coming soon:
www.mikepowell.net
"Brian" <NOSP@xxxxx> wrote in message
news:9b2dncvfhucnqVzYnZ2dnUVZ_h2pnZ2d@xxxxxxxxxxxxxxx
Hello. I'm using Visual Studio 2005 (VB) and I want to a draw a pixel to
an (x, y) position on the form (is drawing to something else faster or
easier?). Here's the catch; the pixel needs to have an RGB color value, so
using System.Drawing.Brush is not an option, since you can only specify
named colors. I need something fast and efficient. Any advice? Thanks in
advance.
.
- Prev by Date: Print high-res control to printer
- Next by Date: Re: Image.FromFile and Image.FromStream(MemoryStream) Don't Tally.
- Previous by thread: Print high-res control to printer
- Next by thread: Re: Drawing a Pixel?
- Index(es):
Relevant Pages
|