On Wednesday, December 29, 2004, at 03:17 AM, Bernard Sunderland wrote:
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>
_______________________________________________
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>
|