亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? grlib.h

?? STM32+Grlib
?? H
?? 第 1 頁 / 共 4 頁
字號:
//*****************************************************************************
//
// grlib.h - Prototypes for the low level primitives provided by the graphics
//           library.
//
// Copyright (c) 2007-2010 Texas Instruments Incorporated.  All rights reserved.
// Software License Agreement
// 
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI's microcontroller products. The software is owned by
// TI and/or its suppliers, and is protected under applicable copyright
// laws. You may not combine this software with "viral" open-source
// software in order to form a larger program.
// 
// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
// DAMAGES, FOR ANY REASON WHATSOEVER.
// 
// This is part of revision 5821 of the Stellaris Graphics Library.
//
//*****************************************************************************

#ifndef __GRLIB_H__
#define __GRLIB_H__

//*****************************************************************************
//
//! \addtogroup primitives_api
//! @{
//
//*****************************************************************************

//*****************************************************************************
//
// If building with a C++ compiler, make all of the definitions in this header
// have a C binding.
//
//*****************************************************************************
#ifdef __cplusplus
extern "C"
{
#endif

//*****************************************************************************
//
//! This structure defines the extents of a rectangle.  All points greater than
//! or equal to the minimum and less than or equal to the maximum are part of
//! the rectangle.
//
//*****************************************************************************
typedef struct
{
    //
    //! The minimum X coordinate of the rectangle.
    //
    short sXMin;

    //
    //! The minimum Y coordinate of the rectangle.
    //
    short sYMin;

    //
    //! The maximum X coordinate of the rectangle.
    //
    short sXMax;

    //
    //! The maximum Y coordinate of the rectangle.
    //
    short sYMax;
}
tRectangle;

//*****************************************************************************
//
//! This structure defines the characteristics of a display driver.
//
//*****************************************************************************
typedef struct
{
    //
    //! The size of this structure.
    //
    long lSize;

    //
    //! A pointer to display driver-specific data.
    //
    void *pvDisplayData;

    //
    //! The width of this display.
    //
    unsigned short usWidth;

    //
    //! The height of this display.
    //
    unsigned short usHeight;

    //
    //! A pointer to the function to draw a pixel on this display.
    //
    void (*pfnPixelDraw)(void *pvDisplayData, long lX, long lY,
                         unsigned long ulValue);

    //
    //! A pointer to the function to draw multiple pixels on this display.
    //
    void (*pfnPixelDrawMultiple)(void *pvDisplayData, long lX, long lY,
                                 long lX0, long lCount, long lBPP,
                                 const unsigned char *pucData,
                                 const unsigned char *pucPalette);

    //
    //! A pointer to the function to draw a horizontal line on this display.
    //
    void (*pfnLineDrawH)(void *pvDisplayData, long lX1, long lX2, long lY,
                         unsigned long ulValue);

    //
    //! A pointer to the function to draw a vertical line on this display.
    //
    void (*pfnLineDrawV)(void *pvDisplayData, long lX, long lY1, long lY2,
                         unsigned long ulValue);

    //
    //! A pointer to the function to draw a filled rectangle on this display.
    //
    void (*pfnRectFill)(void *pvDisplayData, const tRectangle *pRect,
                        unsigned long ulValue);

    //
    //! A pointer to the function to translate 24-bit RGB colors to
    //! display-specific colors.
    //
    unsigned long (*pfnColorTranslate)(void *pvDisplayData,
                                       unsigned long ulValue);

    //
    //! A pointer to the function to flush any cached drawing operations on
    //! this display.
    //
    void (*pfnFlush)(void *pvDisplayData);
}
tDisplay;

//*****************************************************************************
//
//! This structure describes a font used for drawing text onto the screen.
//
//*****************************************************************************
typedef struct
{
    //
    //! The format of the font.  Can be one of FONT_FMT_UNCOMPRESSED or
    //! FONT_FMT_PIXEL_RLE.
    //
    unsigned char ucFormat;

    //
    //! The maximum width of a character; this is the width of the widest
    //! character in the font, though any individual character may be narrower
    //! than this width.
    //
    unsigned char ucMaxWidth;

    //
    //! The height of the character cell; this may be taller than the font data
    //! for the characters (to provide inter-line spacing).
    //
    unsigned char ucHeight;

    //
    //! The offset between the top of the character cell and the baseline of
    //! the glyph.  The baseline is the bottom row of a capital letter, below
    //! which only the descenders of the lower case letters occur.
    //
    unsigned char ucBaseline;

    //
    //! The offset within pucData to the data for each character in the font.
    //
    unsigned short pusOffset[96];

    //
    //! A pointer to the data for the font.
    //
    const unsigned char *pucData;
}
tFont;

//*****************************************************************************
//
//! Indicates that the font data is stored in an uncompressed format.
//
//*****************************************************************************
#define FONT_FMT_UNCOMPRESSED   0x00

//*****************************************************************************
//
//! Indicates that the font data is stored using a pixel-based RLE format.
//
//*****************************************************************************
#define FONT_FMT_PIXEL_RLE      0x01

//*****************************************************************************
//
//! Indicates that the image data is not compressed and represents each pixel
//! with a single bit.
//
//*****************************************************************************
#define IMAGE_FMT_1BPP_UNCOMP   0x01

//*****************************************************************************
//
//! Indicates that the image data is not compressed and represents each pixel
//! with four bits.
//
//*****************************************************************************
#define IMAGE_FMT_4BPP_UNCOMP   0x04

//*****************************************************************************
//
//! Indicates that the image data is not compressed and represents each pixel
//! with eight bits.
//
//*****************************************************************************
#define IMAGE_FMT_8BPP_UNCOMP   0x08

//*****************************************************************************
//
//! Indicates that the image data is compressed and represents each pixel with
//! a single bit.
//
//*****************************************************************************
#define IMAGE_FMT_1BPP_COMP     0x81

//*****************************************************************************
//
//! Indicates that the image data is compressed and represents each pixel with
//! four bits.
//
//*****************************************************************************
#define IMAGE_FMT_4BPP_COMP     0x84

//*****************************************************************************
//
//! Indicates that the image data is compressed and represents each pixel with
//! eight bits.
//
//*****************************************************************************
#define IMAGE_FMT_8BPP_COMP     0x88

//*****************************************************************************
//
//! This structure defines a drawing context to be used to draw onto the
//! screen.  Multiple drawing contexts may exist at any time.
//
//*****************************************************************************
typedef struct
{
    //
    //! The size of this structure.
    //
    long lSize;

    //
    //! The screen onto which drawing operations are performed.
    //
    const tDisplay *pDisplay;

    //
    //! The clipping region to be used when drawing onto the screen.
    //
    tRectangle sClipRegion;

    //
    //! The color used to draw primitives onto the screen.
    //
    unsigned long ulForeground;

    //
    //! The background color used to draw primitives onto the screen.
    //
    unsigned long ulBackground;

    //
    //! The font used to render text onto the screen.
    //
    const tFont *pFont;
}
tContext;

//*****************************************************************************
//
//! Sets the background color to be used.
//!
//! \param pContext is a pointer to the drawing context to modify.
//! \param ulValue is the 24-bit RGB color to be used.
//!
//! This function sets the background color to be used for drawing operations
//! in the specified drawing context.
//!
//! \return None.
//
//*****************************************************************************
#define GrContextBackgroundSet(pContext, ulValue)                        \
        do                                                               \
        {                                                                \
            tContext *pC = pContext;                                     \
            pC->ulBackground = DpyColorTranslate(pC->pDisplay, ulValue); \
        }                                                                \
        while(0)

//*****************************************************************************
//
//! Sets the background color to be used.
//!
//! \param pContext is a pointer to the drawing context to modify.
//! \param ulValue is the display driver-specific color to be used.
//!
//! This function sets the background color to be used for drawing operations
//! in the specified drawing context, using a color that has been previously
//! translated to a driver-specific color (for example, via
//! DpyColorTranslate()).
//!
//! \return None.
//

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
2023国产精品| 99精品视频一区二区三区| 精品久久人人做人人爱| 色综合色综合色综合| 国产精品资源网站| 日日夜夜免费精品视频| 亚洲一本大道在线| 日韩美女视频一区二区| 中文字幕第一页久久| 欧美成人video| 日韩一区二区三区在线视频| 欧美日韩国产一区| 欧美亚洲动漫制服丝袜| 色综合色狠狠天天综合色| 99精品视频在线播放观看| 成人av综合在线| 成人网在线免费视频| 国产99精品在线观看| 亚洲18女电影在线观看| 亚洲精品久久久蜜桃| 亚洲人一二三区| 亚洲免费在线观看视频| 亚洲综合在线免费观看| 亚洲欧美国产高清| 亚洲最大色网站| 日韩不卡一区二区三区| 麻豆精品视频在线观看免费| 久久av中文字幕片| 国产精品一区免费在线观看| 成人精品在线视频观看| 成人av电影免费观看| 色综合久久久久综合体| 欧美视频一二三区| 欧美性色综合网| 26uuu欧美日本| 亚洲一区影音先锋| 激情六月婷婷久久| 欧美图区在线视频| 欧美国产一区二区| 无吗不卡中文字幕| 成人白浆超碰人人人人| 日韩午夜精品电影| 亚洲卡通动漫在线| 国产自产v一区二区三区c| 在线中文字幕一区| 日本一区二区三区在线不卡| 日韩中文字幕区一区有砖一区| 顶级嫩模精品视频在线看| 在线观看一区日韩| 国产精品日产欧美久久久久| 美女www一区二区| 91久久精品一区二区三区| 欧美大尺度电影在线| 亚洲一区二区三区视频在线播放| 国产成人午夜精品影院观看视频| 欧美久久高跟鞋激| 亚洲日本青草视频在线怡红院| 国产毛片精品视频| 91精品啪在线观看国产60岁| 一区二区三区加勒比av| 不卡av在线网| 欧美韩国日本一区| 国产成人高清视频| 久久综合九色欧美综合狠狠| 青青草国产精品亚洲专区无| 欧美三级乱人伦电影| 亚洲久本草在线中文字幕| www.亚洲色图| 亚洲人成7777| av在线播放成人| 国产精品国产三级国产aⅴ中文 | 国产精品久久看| 国产在线国偷精品产拍免费yy| 欧美一区日本一区韩国一区| 天天影视涩香欲综合网| 69久久夜色精品国产69蝌蚪网| 亚洲成精国产精品女| 欧美伦理影视网| 日韩高清在线观看| 日韩美女视频一区二区在线观看| 蜜臀久久99精品久久久久宅男| 欧美一区二区三区四区在线观看| 天天av天天翘天天综合网| 欧美日韩中文精品| 日本女优在线视频一区二区| 欧美一区二区三区视频免费| 青青草精品视频| 久久精品日韩一区二区三区| 国产成人亚洲精品青草天美| 成人免费视频在线观看| 欧美在线制服丝袜| 日本va欧美va精品发布| 欧美哺乳videos| 久久丁香综合五月国产三级网站 | 99精品久久99久久久久| 成人欧美一区二区三区| 欧美撒尿777hd撒尿| 奇米四色…亚洲| 国产精品女主播av| 欧美亚一区二区| 韩日精品视频一区| 国产精品久久久久一区二区三区 | 风流少妇一区二区| 一区二区三区欧美| 欧美成va人片在线观看| 成人动漫av在线| 日韩电影免费在线观看网站| 久久亚洲欧美国产精品乐播| av一本久道久久综合久久鬼色| 亚洲国产视频一区| 久久久天堂av| 欧美在线不卡视频| 春色校园综合激情亚洲| 午夜精品久久久久久久| 国产精品无遮挡| 日韩一区二区三区视频在线观看| 成人黄色777网| 精品在线一区二区三区| 亚洲综合色婷婷| 欧美激情综合在线| 日韩亚洲欧美成人一区| 91丨porny丨国产入口| 久久99精品久久久久久动态图| 亚洲免费在线电影| 日本一区二区三区四区| 日韩美一区二区三区| 欧美丝袜丝交足nylons| 成人国产一区二区三区精品| 久久99热这里只有精品| 亚洲夂夂婷婷色拍ww47| 中国色在线观看另类| 欧美tickling挠脚心丨vk| 色噜噜狠狠色综合中国| 国产成人午夜精品影院观看视频| 日韩av网站在线观看| 亚洲综合网站在线观看| 国产精品女同互慰在线看| 亚洲精品在线网站| 91精品国产麻豆国产自产在线| 99久久99久久精品国产片果冻| 激情六月婷婷综合| 韩国v欧美v亚洲v日本v| 日韩国产一二三区| 首页国产丝袜综合| 视频在线观看91| 亚洲成人一区在线| 亚洲444eee在线观看| 亚洲午夜激情网站| 亚洲一区二区免费视频| 亚洲精品一二三区| 亚洲欧洲精品一区二区三区不卡| 欧美极品xxx| 中文字幕一区二区三区视频| 国产精品久久精品日日| 一区二区中文视频| 亚洲欧美日韩在线不卡| 亚洲精品日韩综合观看成人91| 国产精品情趣视频| 最新成人av在线| 一区二区三区中文在线| 亚洲午夜视频在线观看| 亚洲大片免费看| 久久91精品久久久久久秒播| 精品一区二区免费在线观看| 国产一区二区按摩在线观看| 粉嫩在线一区二区三区视频| 波多野结衣中文字幕一区二区三区| 成人听书哪个软件好| 91原创在线视频| 欧美日韩另类国产亚洲欧美一级| 日韩一级成人av| 国产午夜精品福利| 亚洲免费观看在线视频| 亚洲成人三级小说| 精品一区二区影视| 成人动漫视频在线| 4hu四虎永久在线影院成人| 欧美岛国在线观看| 综合久久久久综合| 日本成人中文字幕| 成人福利在线看| 欧美嫩在线观看| 中文字幕欧美国产| 亚洲第一成年网| 国产成都精品91一区二区三| 色激情天天射综合网| 欧美精品一区二区三区蜜臀| 亚洲欧美在线高清| 久久精品国产999大香线蕉| 成人亚洲精品久久久久软件| 欧美片网站yy| 亚洲国产精品ⅴa在线观看| 亚洲成a人v欧美综合天堂下载| 麻豆91精品视频| 日本黄色一区二区| 欧美精品一区二区在线播放| 一区二区三区四区高清精品免费观看 | 国产一区二区三区免费看| 91一区二区三区在线观看| 日韩一区和二区|