svgtopt/VGRenderer/PseudoVG/inc/PseudoVG.h
changeset 0 d46562c3d99d
equal deleted inserted replaced
-1:000000000000 0:d46562c3d99d
       
     1 /*
       
     2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  PseudoVG header file
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef PSEUDOVG_H_
       
    19 #define PSEUDOVG_H_
       
    20 
       
    21 enum OpenVGAPI
       
    22     {
       
    23     EvgClear = 0,
       
    24     EvgSeti,
       
    25     EvgSetf,
       
    26     EvgSetfv,
       
    27     EvgSetParameteri,
       
    28     EvgSetParameterf,
       
    29     EvgSetParameterfv,
       
    30     EvgSetColor,
       
    31     EvgSetPaint,
       
    32     EvgLoadMatrix,
       
    33     EvgMultMatrix,
       
    34     EvgLoadIdentity,
       
    35     EvgScale,
       
    36     EvgRotate,
       
    37     EvgTranslate,
       
    38     EvgAppendPathData,
       
    39     EvgDrawPath,
       
    40     EvgClearPath,
       
    41     EvguRect,
       
    42     EvguEllipse,
       
    43     EvguRoundRect,
       
    44     EvguLine,
       
    45     EvgCreatePaint,
       
    46     EvgCreatePath,
       
    47     EvgGetPixels,
       
    48     EvgDestroyImage,
       
    49     EvgDestroyPaint,
       
    50     EvgDestroyPath,
       
    51     EvgSetiv,
       
    52     EvgCreateImage,
       
    53     EvgDrawImage,
       
    54     EvgClearImage,
       
    55     EvgImageSubData,
       
    56     EvgPrepareToBindImage,
       
    57     EvgBindImage,
       
    58     EvgUnBindImage,
       
    59     EvgFlush,
       
    60     };
       
    61 
       
    62 /*
       
    63 enum OpenVGAPI
       
    64     {
       
    65     EvgClear = 0,
       
    66     EvgSeti,
       
    67     EvgSetf,
       
    68     EvgSetfv,
       
    69     EvgSetParameteri,
       
    70     EvgSetParameterf,
       
    71     EvgSetParameterfv,
       
    72     EvgSetColor,
       
    73     EvgSetPaint,
       
    74     EvgLoadMatrix,
       
    75     EvgMultMatrix,
       
    76     EvgLoadIdentity,
       
    77     EvgScale,
       
    78     EvgRotate,
       
    79     EvgTranslate,
       
    80     EvgAppendPathData,
       
    81     EvgDrawPath,
       
    82     EvguRect,
       
    83     EvguEllipse,
       
    84     EvguRoundRect,
       
    85     EvguLine,
       
    86     EvgCreatePaint,
       
    87     EvgCreatePath,
       
    88     EvgCreateImage,
       
    89     EvgGetPixels,
       
    90     EvgDrawImage,
       
    91     EvgDestroyImage,
       
    92     EvgDestroyPaint,
       
    93     EvgDestroyPath,
       
    94     EvgFlush,
       
    95     EvgSetiv
       
    96     };
       
    97 */
       
    98 
       
    99 static const TUint     OpenVGAPICount = EvgFlush + 1;
       
   100 
       
   101 static const TInt8     KNVGFileVersion      = 0x00;                 // file version is not really required for pseudo
       
   102 static const TInt16    KNVGHeaderSize       = 0x34;
       
   103 static const TInt16    KNVGReserved1        = 0x01;                 // 1 is for TLV type
       
   104 
       
   105 static const TUid      KUidPseudo = { 968435518 }; // TODO?
       
   106 
       
   107 #endif /*PSEUDOVG_H_*/