[lazarus] Put Pixel

Shane Miller SMiller1 at stvgb.org
Wed Nov 1 12:16:33 EST 2000


Try 

Canvas.Pixels[500,475] := clRed;

Shane


>>> luis at luis-digital.8m.com 11/01/00 10:27AM >>>
Shane Miller wrote:
> 
> Look at testform.pp
> 
> with Form1 do
> begin
>   Canvas.Pen.Style := psSolid;
>   Canvas.Pen.Color := clRed;
>   Canvas.Line(400,500,450,550);
> end;
> 
> Shane

It worked well, but Canvas.Line(To) he is slower than to put only a
pixel.
I want something like PutPixel() in Pascal.

Thanks!

-- 
 |--------------------------|
| Luis R. Hilario            |
| http://luisdigital.2y.net  |
 |--------------------------|

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list