javauis/lcdui_akn/lcdgd/inc/lcd16bpp.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2005 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LCD16BPP_H
       
    19 #define LCD16BPP_H
       
    20 
       
    21 class TRect;
       
    22 class TAcceleratedBitmapInfo;
       
    23 class TLcdTransform;
       
    24 
       
    25 
       
    26 extern void DrawRegion16Bpp1BppTo16BppOpaque
       
    27 (
       
    28     const TAcceleratedBitmapInfo*   aDstColorBitmap,    // must be 16bpp mode
       
    29     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,    // ignored
       
    30     const TRect&                    aDstRect,           // must be clipped to destination
       
    31     const TAcceleratedBitmapInfo*   aSrcColorBitmap,    // must match aDestination mode
       
    32     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,    // must be EGray2
       
    33     const TLcdTransform&            aSrcTransform       // includes anchor
       
    34 );
       
    35 
       
    36 extern void DrawImage16Bpp1BppTo16BppOpaque
       
    37 (
       
    38     const TAcceleratedBitmapInfo*   aDstColorBitmap,    // must be 16bpp mode
       
    39     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,    // ignored
       
    40     const TRect&                    aDstRect,           // must be clipped to destination
       
    41     const TAcceleratedBitmapInfo*   aSrcColorBitmap,    // must be 16bpp mode
       
    42     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,    // must be EGray2
       
    43     const TLcdTransform&            aSrcTransform       // includes anchor
       
    44 );
       
    45 
       
    46 #ifdef LCDGD_SUPPORT_MATCHED_MASK_BITMAP
       
    47 extern void DrawRegion16Bpp16BppTo16BppOpaque
       
    48 (
       
    49     const TAcceleratedBitmapInfo*   aDstColorBitmap,    // must be 16bpp mode
       
    50     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,    // ignored
       
    51     const TRect&                    aDstRect,           // must be clipped to destination
       
    52     const TAcceleratedBitmapInfo*   aSrcColorBitmap,    // must match aDestination mode
       
    53     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,    // must be 16bpp mode
       
    54     const TLcdTransform&            aSrcTransform       // includes anchor
       
    55 );
       
    56 #endif
       
    57 
       
    58 /**
       
    59  * Opaque 16bpp to opaque 16bpp bitblt with simple transform.
       
    60  */
       
    61 extern void BitBltSixteenBppSimple
       
    62 (
       
    63     const TAcceleratedBitmapInfo*   aDstColorBitmap,
       
    64     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,    // ignored
       
    65     const TRect&                    aDstRect,
       
    66     const TAcceleratedBitmapInfo*   aSrcColorBitmap,
       
    67     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,    // ignored
       
    68     const TLcdTransform&            aTransform
       
    69 );
       
    70 
       
    71 /**
       
    72  * Opaque 16bpp to opaque 16bpp bitblt with transform.
       
    73  */
       
    74 extern void BitBltSixteenBpp
       
    75 (
       
    76     const TAcceleratedBitmapInfo*   aDstColorBitmap,
       
    77     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,    // ignored
       
    78     const TRect&                    aDstRect,
       
    79     const TAcceleratedBitmapInfo*   aSrcColorBitmap,
       
    80     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,    // ignored
       
    81     const TLcdTransform&            aTransform
       
    82 );
       
    83 
       
    84 /**
       
    85  * 16bpp color 1bpp mask to 16bpp color 1bpp mask bitblt with transform.
       
    86  */
       
    87 extern void BitBltSixteenBppOneBpp
       
    88 (
       
    89     const TAcceleratedBitmapInfo*   aDstColorBitmap,
       
    90     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,
       
    91     const TRect&                    aDstRect,
       
    92     const TAcceleratedBitmapInfo*   aSrcColorBitmap,
       
    93     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,
       
    94     const TLcdTransform&            aTransform
       
    95 );
       
    96 
       
    97 /**
       
    98  * 16bpp color 8bpp mask to 16bpp color 8bpp mask bitblt with transform.
       
    99  */
       
   100 extern void BitBltSixteenBppEightBpp
       
   101 (
       
   102     const TAcceleratedBitmapInfo*   aDstColorBitmap,
       
   103     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,
       
   104     const TRect&                    aDstRect,
       
   105     const TAcceleratedBitmapInfo*   aSrcColorBitmap,
       
   106     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,
       
   107     const TLcdTransform&            aTransform
       
   108 );
       
   109 
       
   110 /**
       
   111  * 16bpp color 16bpp mask to 16bpp color 16bpp mask bitblt with transform.
       
   112  */
       
   113 extern void BitBltSixteenBppSixteenBpp
       
   114 (
       
   115     const TAcceleratedBitmapInfo*   aDstColorBitmap,
       
   116     const TAcceleratedBitmapInfo*   aDstAlphaBitmap,
       
   117     const TRect&                    aDstRect,
       
   118     const TAcceleratedBitmapInfo*   aSrcColorBitmap,
       
   119     const TAcceleratedBitmapInfo*   aSrcAlphaBitmap,
       
   120     const TLcdTransform&            aTransform
       
   121 );
       
   122 
       
   123 extern void FillTriangle16Bpp
       
   124 (
       
   125     const TAcceleratedBitmapInfo*   aBitmap,
       
   126     const TPoint                    aPoints[],
       
   127     TUint32                         aColor16Bpp,
       
   128     const TRect&                    aClipRect
       
   129 );
       
   130 
       
   131 #endif // LCD16BPP_H