graphicsdeviceinterface/gdi/inc/GDI.H
branchRCL_3
changeset 26 15986eb6c500
parent 0 5d03bc08d59c
child 33 25f95128741d
equal deleted inserted replaced
19:ac96196b945c 26:15986eb6c500
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   138 	/** One or more of the input parameters to the interface were invalid */
   138 	/** One or more of the input parameters to the interface were invalid */
   139 	EGdiPanic_InvalidInputParam		= 1,
   139 	EGdiPanic_InvalidInputParam		= 1,
   140 	/** Insufficient text for successful completion of the method */
   140 	/** Insufficient text for successful completion of the method */
   141 	EGdiPanic_OutOfText				= 2,
   141 	EGdiPanic_OutOfText				= 2,
   142 	/** Internal failure. */
   142 	/** Internal failure. */
   143 	EGdiPanic_Invariant				= 3
   143 	EGdiPanic_Invariant				= 3,
       
   144 	/** Reserved panic codes. Not to be used. */
       
   145 	EGdiPanic_Reserved1				= 4,
       
   146 	EGdiPanic_Reserved2				= 5,
       
   147 	/** Setting a typeface name that is too long */
       
   148 	EGdiPanic_TypefaceNameOverflow	= 6,
   144 	};
   149 	};
   145 
   150 
   146 
   151 
   147 /** 24-bit RGB colour value with 8 bits each for red, green and blue.
   152 /** 24-bit RGB colour value with 8 bits each for red, green and blue.
   148 
   153 
   558 	IMPORT_C TBool IsSerif() const;
   563 	IMPORT_C TBool IsSerif() const;
   559 	IMPORT_C TBool IsSymbol() const;
   564 	IMPORT_C TBool IsSymbol() const;
   560 	IMPORT_C void SetScriptTypeForMetrics(TLanguage aLanguage);
   565 	IMPORT_C void SetScriptTypeForMetrics(TLanguage aLanguage);
   561 	IMPORT_C void SetScriptTypeForMetrics(TInt aScript);
   566 	IMPORT_C void SetScriptTypeForMetrics(TInt aScript);
   562 	IMPORT_C TInt ScriptTypeForMetrics() const;
   567 	IMPORT_C TInt ScriptTypeForMetrics() const;
       
   568 	IMPORT_C void SetName(const TDesC& aName);
       
   569 	IMPORT_C const TDesC& Name() const;
   563 private:
   570 private:
   564 	void ResetAttributes();
   571 	void ResetAttributes();
   565 	void ResetScriptType();
   572 	void ResetScriptType();
   566 public:
   573 public:
   567 	/** The typeface name. */
   574 	/** The typeface name. */