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,23b61d4dfe367913 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.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: Sat, 09 Apr 2005 13:30:37 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: graphical output on win xp with gnavi-package References: X-Newsreader: Tom's custom newsreader Message-ID: <8uCdnchHxNPTgsXfRVn-1Q@comcast.com> Date: Sat, 09 Apr 2005 13:30:38 -0500 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-uwCKJ9bI/WGnzDG37Ji5/OuqqxWYGwkbBSan2hNusZw4NJgU2MS+rNl/nhcHGOvjKippxPYZowON5Vs!6KqmKqUS7oRVDKYvfpLKwH9n7Ixtf0t5AF7bgHvr5YNHzjov271epFcRrXoszg== 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:10365 Date: 2005-04-09T13:30:38-05:00 List-Id: >can somebody give me just a short introduction in how to paint with >claw? is it possible, to set single pixels on a window into a color of >my choice? Download the free version of Claw (www.rrsoftware.com) and look at the "bigjob" demo program to see a simple program that draws on a window. To see an example of drawing individual pixels, go to http://www.adapower.com/index.php?Command=Class&ClassID=GUIExamples&CID=435 and get the source code for Orbitals. That program shows a 3-D representation of the probability density of Hydrogen electron orbitals per the Schrodinger equation, which you probably don't care about. ;) But in the "procedure When_Draw" in display.adb you'll see a call to Claw.Bitmaps.Set_Pixel, which is what you want.