windowing/windowserver/inc/RemoteGcUtils.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __REMOTEGCUTILS_H__
       
    17 #define __REMOTEGCUTILS_H__
       
    18 
       
    19 /**
       
    20 All possible drawcommands that can be recorded and played by the RemoteGc.
       
    21 @publishedPartner
       
    22 @released*/
       
    23 enum TDrawCode
       
    24 	{
       
    25 	ECommandClear,
       
    26 	ECommandClearRect,
       
    27 	ECommandCopyRect,
       
    28 	ECommandBitBlt1,
       
    29 	ECommandBitBlt2,	
       
    30 	ECommandBitBltMasked,
       
    31 	ECommandSetFaded,
       
    32 	ECommandSetFadingParameters,
       
    33 	ECommandAlphaBlendBitmaps,
       
    34 	ECommandSetOrigin,
       
    35 	ECommandSetDrawMode,
       
    36 	ECommandSetClippingRect,
       
    37 	ECommandCancelClippingRect,
       
    38 	ECommandReset,
       
    39 	ECommandUseFont,
       
    40 	ECommandDiscardFont,
       
    41 	ECommandSetUnderlineStyle,
       
    42 	ECommandSetStrikethroughStyle,
       
    43 	ECommandSetWordJustification,
       
    44 	ECommandSetCharJustification,	
       
    45 	ECommandSetPenColor,
       
    46 	ECommandSetPenStyle,
       
    47 	ECommandSetPenSize,
       
    48 	ECommandSetBrushColor,
       
    49 	ECommandSetBrushStyle,
       
    50 	ECommandSetBrushOrigin,
       
    51 	ECommandUseBrushPattern,
       
    52 	ECommandDiscardBrushPattern,
       
    53 	ECommandMoveTo,
       
    54 	ECommandMoveBy,
       
    55 	ECommandPlot,
       
    56 	ECommandDrawArc,
       
    57 	ECommandDrawLine,
       
    58 	ECommandDrawLineTo,
       
    59 	ECommandDrawLineBy,
       
    60 	ECommandDrawPolyLine,
       
    61 	ECommandDrawPie,
       
    62 	ECommandDrawEllipse,
       
    63 	ECommandDrawRect,
       
    64 	ECommandDrawRoundRect,
       
    65 	ECommandDrawPolygon,
       
    66 	ECommandDrawBitmap1,
       
    67 	ECommandDrawBitmap2,
       
    68 	ECommandDrawBitmap3,
       
    69 	ECommandDrawBitmapMasked,
       
    70 	ECommandDrawText1,
       
    71 	ECommandDrawText2,
       
    72 	ECommandDrawText3,
       
    73 	ECommandMapColors,
       
    74 	ECommandSetClippingRegion,
       
    75 	ECommandCancelClippingRegion,
       
    76 	ECommandDrawTextVertical1,
       
    77 	ECommandDrawTextVertical2,
       
    78 	ECommandDrawWsGraphic1,
       
    79 	ECommandDrawWsGraphic2,
       
    80 	ECommandSetShadowColor,
       
    81 	// New DrawText API's that take in context
       
    82 	ECommandDrawText4,
       
    83 	ECommandDrawText5,
       
    84 	ECommandDrawTextVertical3,
       
    85 	ECommandDrawTextVertical4,
       
    86 	
       
    87 	ECommandGetUnderlineMetrics,
       
    88 	
       
    89 	ECommandDrawResourceToPos,
       
    90 	ECommandDrawResourceToRect,
       
    91 	ECommandDrawResourceFromRectToRect,
       
    92 	ECommandDrawResourceWithData,
       
    93 	};
       
    94 
       
    95 #endif // __REMOTEGCUTILS_H__