os/graphics/windowing/windowserver/inc/RemoteGcUtils.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/graphics/windowing/windowserver/inc/RemoteGcUtils.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,95 @@
     1.4 +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef __REMOTEGCUTILS_H__
    1.20 +#define __REMOTEGCUTILS_H__
    1.21 +
    1.22 +/**
    1.23 +All possible drawcommands that can be recorded and played by the RemoteGc.
    1.24 +@publishedPartner
    1.25 +@released*/
    1.26 +enum TDrawCode
    1.27 +	{
    1.28 +	ECommandClear,
    1.29 +	ECommandClearRect,
    1.30 +	ECommandCopyRect,
    1.31 +	ECommandBitBlt1,
    1.32 +	ECommandBitBlt2,	
    1.33 +	ECommandBitBltMasked,
    1.34 +	ECommandSetFaded,
    1.35 +	ECommandSetFadingParameters,
    1.36 +	ECommandAlphaBlendBitmaps,
    1.37 +	ECommandSetOrigin,
    1.38 +	ECommandSetDrawMode,
    1.39 +	ECommandSetClippingRect,
    1.40 +	ECommandCancelClippingRect,
    1.41 +	ECommandReset,
    1.42 +	ECommandUseFont,
    1.43 +	ECommandDiscardFont,
    1.44 +	ECommandSetUnderlineStyle,
    1.45 +	ECommandSetStrikethroughStyle,
    1.46 +	ECommandSetWordJustification,
    1.47 +	ECommandSetCharJustification,	
    1.48 +	ECommandSetPenColor,
    1.49 +	ECommandSetPenStyle,
    1.50 +	ECommandSetPenSize,
    1.51 +	ECommandSetBrushColor,
    1.52 +	ECommandSetBrushStyle,
    1.53 +	ECommandSetBrushOrigin,
    1.54 +	ECommandUseBrushPattern,
    1.55 +	ECommandDiscardBrushPattern,
    1.56 +	ECommandMoveTo,
    1.57 +	ECommandMoveBy,
    1.58 +	ECommandPlot,
    1.59 +	ECommandDrawArc,
    1.60 +	ECommandDrawLine,
    1.61 +	ECommandDrawLineTo,
    1.62 +	ECommandDrawLineBy,
    1.63 +	ECommandDrawPolyLine,
    1.64 +	ECommandDrawPie,
    1.65 +	ECommandDrawEllipse,
    1.66 +	ECommandDrawRect,
    1.67 +	ECommandDrawRoundRect,
    1.68 +	ECommandDrawPolygon,
    1.69 +	ECommandDrawBitmap1,
    1.70 +	ECommandDrawBitmap2,
    1.71 +	ECommandDrawBitmap3,
    1.72 +	ECommandDrawBitmapMasked,
    1.73 +	ECommandDrawText1,
    1.74 +	ECommandDrawText2,
    1.75 +	ECommandDrawText3,
    1.76 +	ECommandMapColors,
    1.77 +	ECommandSetClippingRegion,
    1.78 +	ECommandCancelClippingRegion,
    1.79 +	ECommandDrawTextVertical1,
    1.80 +	ECommandDrawTextVertical2,
    1.81 +	ECommandDrawWsGraphic1,
    1.82 +	ECommandDrawWsGraphic2,
    1.83 +	ECommandSetShadowColor,
    1.84 +	// New DrawText API's that take in context
    1.85 +	ECommandDrawText4,
    1.86 +	ECommandDrawText5,
    1.87 +	ECommandDrawTextVertical3,
    1.88 +	ECommandDrawTextVertical4,
    1.89 +	
    1.90 +	ECommandGetUnderlineMetrics,
    1.91 +	
    1.92 +	ECommandDrawResourceToPos,
    1.93 +	ECommandDrawResourceToRect,
    1.94 +	ECommandDrawResourceFromRectToRect,
    1.95 +	ECommandDrawResourceWithData,
    1.96 +	};
    1.97 +
    1.98 +#endif // __REMOTEGCUTILS_H__