comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: graphical output on win xp with gnavi-package
Date: Sat, 09 Apr 2005 13:30:38 -0500
Date: 2005-04-09T13:30:38-05:00	[thread overview]
Message-ID: <8uCdnchHxNPTgsXfRVn-1Q@comcast.com> (raw)
In-Reply-To: e499e546.0504090351.785682d@posting.google.com

>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.



  reply	other threads:[~2005-04-09 18:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-07 15:45 graphical output on win xp with gnavi-package Duke Luke
2005-04-07 23:32 ` Randy Brukardt
2005-04-08 13:57   ` Duke Luke
2005-04-08 18:33     ` Randy Brukardt
2005-04-08 14:52 ` Dmitry A. Kazakov
2005-04-08 18:47   ` Duke Luke
2005-04-08 20:21     ` Dmitry A. Kazakov
2005-04-08 20:41     ` Gautier Write-only
2005-04-08 20:42     ` tmoran
2005-04-09 11:51       ` Duke Luke
2005-04-09 18:30         ` tmoran [this message]
2005-04-11  5:37           ` Duke Luke
2005-04-12 16:18           ` Duke Luke
2005-04-12 17:24             ` tmoran
2005-04-13 15:19               ` Duke Luke
2005-04-13 18:16                 ` tmoran
2005-04-14  6:24                   ` Duke Luke
2005-04-14 17:54                     ` tmoran
2005-04-15 10:04 ` Duke Luke
2005-04-15 17:56   ` tmoran
2005-04-16  9:58     ` 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