gettingstarted
[Top] [All Lists]

Colour

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Colour
From: "Bernard Sunderland" <bernard at sunland92 dot fsnet dot co dot uk>
Date: Wed, 29 Dec 2004 09:17:00 -0000
Delivered-to: gettingstarted at lists dot realsoftware dot com
Help please,

I am re-writing a VBasic programme which does things with colour.
I want to take a colour sample by reference e.g. to a Rectangle.FillColor and 
divide it into its 3 components. In VBasic this was easy. Since the colour 
reference was numerical it could be divided down into 3 stages. But REALbasic 
will not allow me to use a colour variable mathematically. If I could get an 
existing colour as RGB this would solve it but I can't see how to do this. Is 
it possible to convert between &c000000 and RGB() or between Color and Integer 
variables?

Regards 
Bernard
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>