From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,712b9f1b40092306 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 25 Mar 2005 12:22:05 -0600 From: David Botton Newsgroups: comp.lang.ada Date: Fri, 25 Mar 2005 13:22:07 -0500 Message-ID: <2005032513220775249%david@bottoncom> References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Graphical output on Windows XP User-Agent: Unison/1.5.2 NNTP-Posting-Host: 66.176.74.83 X-Trace: sv3-saR2NOV54vVVgxaFYfNGVbtIwyMQO4sNudbIrH7jZi/nt59mMAmXgcp+Nz0U8eFgYAZIbZuCf0+JyNL!t1Z2iqlicBsmJMdEFbpCacJLk+rjeT3IXRYBTXXFsO8xKq26Yn/nILw0pO/ZlQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:9991 Date: 2005-03-25T13:22:07-05:00 List-Id: > 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;