From: David Botton <david@botton.com>
Subject: Re: Graphical output on Windows XP
Date: Fri, 25 Mar 2005 13:22:07 -0500
Date: 2005-03-25T13:22:07-05:00 [thread overview]
Message-ID: <2005032513220775249%david@bottoncom> (raw)
In-Reply-To: e499e546.0503250823.7d039a88@posting.google.com
> does anyone know, how to do this? (Gnat comes with packages that can
> do that, but I don't nearly understand them. There's a function
> "setpixel", but what do I have to do, to use it??)
Get GWindows from http://www.gnavi.org
with GWindows.Application;
with GWindows.Windows.Main; use GWindows.Windows.Main;
with GWindows.Drawing; use GWindows.Drawing;
with GWindows.Colors; use GWindows.Colors;
procedure Pixel is
Window : Main_Window_Type;
Canvas : Canvas_Type;
begin
Create (Window, "Pixel", Width => 400, Height => 200);
Get_Canvas (Window, Canvas);
Show (Window);
for X in 10 .. 190 loop
Point (Canvas, X , 100, Blue);
end loop;
GWindows.Application.Message_Loop;
end Pixel;
next prev parent reply other threads:[~2005-03-25 18:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-22 9:41 Graphical output on Windows XP Duke Luke
2005-03-23 0:55 ` Georg Bauhaus
2005-03-25 16:23 ` Duke Luke
2005-03-25 18:22 ` David Botton [this message]
2005-03-26 13:57 ` Duke Luke
2005-03-30 10:21 ` Duke Luke
2005-03-31 1:52 ` Randy Brukardt
2005-03-31 2:46 ` Steve
2005-04-05 13:33 ` Duke Luke
2005-03-25 12:58 ` munnoch
2005-03-29 12:28 ` Duke Luke
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox