 |
 |
|
 |
02-20-2010, 05:25 PM
|
#1 (permalink)
|
|
Registered Member
Join Date: Jul 2009
Location: Sacramento,CA
Posts: 90
|
RGBColors
Hi, I am trying to change the drawing color to Blue, White, Black. What are the RGB colors for it? I know that this is red.
Code:
CGContextSetRGBStrokeColor(UIGraphicsGetCurrentContext(), 1.0, 0.0, 0.0, 1.0);
Thanks
|
|
|
02-20-2010, 05:55 PM
|
#2 (permalink)
|
|
Registered Member
Join Date: Jan 2010
Posts: 341
|
Blue: 0.0, 0.0, 1.0, 0.0
White: 1.0, 1.0, 1.0, 1.0
Black: 0.0, 0.0, 0.0, 1.0
|
|
|
02-20-2010, 05:57 PM
|
#3 (permalink)
|
|
Elegance is Infinite
iPhone Dev SDK Supporter
Join Date: Jan 2010
Location: Bay Area, CA
Posts: 677
|
Where can we get a full list of these?
|
|
|
02-20-2010, 05:58 PM
|
#4 (permalink)
|
|
Elegance is Infinite
iPhone Dev SDK Supporter
Join Date: Jan 2010
Location: Bay Area, CA
Posts: 677
|
Oh! I just realized its mixing light! I know how to get combinations! Sorry
|
|
|
02-20-2010, 07:39 PM
|
#6 (permalink)
|
|
Obj-C Learner
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
|
I wish people could spell colour.
__________________
Will code for food
|
|
|
02-20-2010, 07:40 PM
|
#7 (permalink)
|
|
iPhone SDK learner
Join Date: Feb 2010
Location: Illinois, USA
Posts: 417
|
Quote:
Originally Posted by ZunePod
I wish people could spell colour.
|
i love how english people spell that
|
|
|
02-20-2010, 07:42 PM
|
#8 (permalink)
|
|
Registered Member
Join Date: Dec 2008
Location: UK
Posts: 1,886
|
There are obviously two different spellings for it. Us Brits use "Colour" and Americans use "Color". Both are right.
|
|
|
02-20-2010, 07:43 PM
|
#9 (permalink)
|
|
Obj-C Learner
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
|
Leaving the U out is so so lazy.
__________________
Will code for food
|
|
|
02-20-2010, 07:44 PM
|
#10 (permalink)
|
|
Registered Member
Join Date: Dec 2008
Location: UK
Posts: 1,886
|
It's not about being lazy, that's the way they spell it. We spell centre differently as well. Try not to lose sleep over it
|
|
|
02-20-2010, 07:45 PM
|
#11 (permalink)
|
|
iPhone SDK learner
Join Date: Feb 2010
Location: Illinois, USA
Posts: 417
|
Quote:
Originally Posted by harrytheshark
It's not about being lazy, that's the way they spell it. We spell centre differently as well. Try not to lose sleep over it 
|
you no, everyone on this forum seems british.  haven's seen many posts saying they live in USA, just somewhere in britain.
|
|
|
02-20-2010, 07:50 PM
|
#12 (permalink)
|
|
Registered Member
Join Date: Dec 2008
Location: UK
Posts: 1,886
|
It's so when we spell stuff differently, we don't look stupid
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 286 |
| 21 members and 265 guests |
| 2WeeksToGo, ADY, apatsufas, ckgni, dacapo, Dani77, Fritzer, ghost, HDshot, headkaze, jakerocheleau, joeallenpro, masc2279, mer10, mystic.purple, objch, Rudy, tathaastu, themathminister, timle8n1, Zool |
| Most users ever online was 1,187, 10-11-2011 at 08:09 AM. |
» Stats |
Members: 158,878
Threads: 89,223
Posts: 380,731
Top Poster: BrianSlick (7,129)
|
| Welcome to our newest member, olga2000 |
|