Re: Drawing a Pixel?



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.




.



Relevant Pages

  • Re: Covariate in ANCOVA question
    ... LSD fell out of favour generally because it does not control the ... family- wise alpha well when there are 4 or more groups. ... the protection by the omnibus test in step one only ... omnibus test fails to protect that part of null hypothesis that is true. ...
    (sci.stat.edu)
  • Re: Covariate in ANCOVA question
    ... David Winsemius ... wise alpha well when there are 4 or more groups. ... we have forgotten that it *does* control family- ... The risk is a type II error. ...
    (sci.stat.edu)
  • Re: Another Alpha turned off...
    ... I purchased 2 Alpha 2100's ... then turns control over to the D: ...  I have a feeling the Starion is dying ... Hardware dies while new hardware evolves, ...
    (comp.os.vms)
  • Re: Why John Ringo Threatens Science Fictions Future
    ... VERY bored or you have a desire to control the actions of others, ... they other readers or the writers themselves. ... Alpha, schmalfa. ...
    (rec.arts.sf.written)
  • Re: Custom control design woes
    ... try setting up your properties in the control's constructor instead of using ... the property grid. ... Mike Powell ... the control appears in the Toolbox. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)

Quantcast