equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept xml:lang="en" id="GUID-248D480D-2406-5FFD-8E3B-09CA67D1BE69"><title>Colors</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>All colors are specified in terms of a 24-bit color value, represented by the class <codeph>TRgb</codeph>. This 24 bit value is mapped down to device-level values by the graphics device or printer driver. </p> <p>Note that: </p> <ul><li id="GUID-F34D5AC8-75C4-5925-9DC5-FBC2C18DCDD5"><p>Colors can be specified logically (for example the window background color), as well as physically. The UI Graphics Utilities API contains a list of logical Colors (<codeph>TLogicalColor</codeph>) and provides the means to convert them into RGB values. </p> </li> <li id="GUID-C0A41D47-C159-5318-9C75-710F92FB29C7"><p>The window server defines display modes that represent color resolutions. In each display mode, as enumerated by <codeph>TDisplayMode</codeph>, a unique index can represent each physical color supported. <codeph>TRgb</codeph> can map such indices onto a full RGB value. </p> </li> </ul> </conbody><related-links><link href="GUID-55C8C429-1BEC-5A58-94EC-DA1E51F62867.dita"><linktext>Drawing |
|
13 to a Graphics Context Tutorials</linktext> </link> <link href="GUID-E3AC8F3E-9D5C-5E7D-9760-023B77C7C8A8.dita"><linktext>Drawing and Graphics Contexts</linktext> </link> </related-links></concept> |