⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gui_drawbitmapexp.lst

📁 Keil C下通过的UCGUI,UCGUI的移植源代码
💻 LST
字号:
C51 COMPILER V8.05a   GUI_DRAWBITMAPEXP                                                    04/11/2008 14:18:35 PAGE 1   


C51 COMPILER V8.05a, COMPILATION OF MODULE GUI_DRAWBITMAPEXP
OBJECT MODULE PLACED IN GUI_DrawBitmapExp.obj
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE gui\Core\GUI_DrawBitmapExp.c LARGE BROWSE MDU_F120 DEBUG OBJE
                    -CTEXTEND PRINT(.\GUI_DrawBitmapExp.lst) OBJECT(GUI_DrawBitmapExp.obj)

line level    source

   1          /*
   2          *********************************************************************************************************
   3          *                                                uC/GUI
   4          *                        Universal graphic software for embedded applications
   5          *
   6          *                       (c) Copyright 2002, Micrium Inc., Weston, FL
   7          *                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
   8          *
   9          *              礐/GUI is protected by international copyright laws. Knowledge of the
  10          *              source code may not be used to write a similar product. This file may
  11          *              only be used in accordance with a license and should not be redistributed
  12          *              in any way. We appreciate your understanding and fairness.
  13          *
  14          ----------------------------------------------------------------------
  15          File        : GUI_DrawBitmapExp.C
  16          Purpose     : Implementation of GUI_DrawBitmapExp
  17          ---------------------------END-OF-HEADER------------------------------
  18          */
  19          
  20          #include <stddef.h>           /* needed for definition of NULL */
  21          #include "gui\Core\GUI_Private.h"
  22          
  23          /*********************************************************************
  24          *
  25          *             GUI_DrawBitmapExp
  26          *
  27          **********************************************************************
  28          */
  29          
  30          void GUI_DrawBitmapExp(int x0,    int y0,
  31                                 int XSize, int YSize,
  32                                 int XMul,  int YMul,
  33                                 int BitsPerPixel, 
  34                                 int BytesPerLine,
  35                                 const U8* pData,
  36                                 const GUI_LOGPALETTE* pPal)
  37          {
  38   1        GUI_DRAWMODE PrevDraw;
  39   1        const LCD_PIXELINDEX* pTrans;
  40   1        GUI_LOCK();
  41   1        pTrans = LCD_GetpPalConvTable(pPal);
  42   1        PrevDraw = GUI_SetDrawMode((pPal && pPal->HasTrans) ? GUI_DRAWMODE_TRANS : 0);
  43   1        #if (GUI_WINSUPPORT)
                  WM_ADDORG(x0,y0);
                  {
                    GUI_RECT r;
                    r.x0 = x0;
                    r.x1 = x0 + XSize * XMul -1;
                    r.y0 = y0;
                    r.y1 = y0 + YSize * YMul -1;
                    WM_ITERATE_START(&r); {
                #endif
  53   1        LCD_DrawBitmap( x0, y0 ,XSize ,YSize, XMul, YMul
  54   1                       ,BitsPerPixel, BytesPerLine, pData, pTrans);
C51 COMPILER V8.05a   GUI_DRAWBITMAPEXP                                                    04/11/2008 14:18:35 PAGE 2   

  55   1        #if (GUI_WINSUPPORT)
                    } WM_ITERATE_END();
                  }
                #endif
  59   1        GUI_SetDrawMode(PrevDraw);
  60   1        GUI_UNLOCK();
  61   1      }


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    248    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----      27
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -