参数资料
型号: AC164127-8
厂商: Microchip Technology
文件页数: 8/16页
文件大小: 0K
描述: BOARD GRAPH DISPLAY 5.7 640X480
标准包装: 1
系列: PICtail™ Plus
主要目的: 显示器,LCD 显示器
嵌入式:
主要属性: 5.7" VGA TFT LCD
次要属性: 电阻式 4 线触控屏幕
已供物品:
Microchip Graphics Library Quick Reference Guide
Primitive Layer
Primitive Layer
void InitGraph()
void ClearDevice()
SHORT GetX()
SHORT GetY()
void MoveTo(
SHORT x,
SHORT y)
void MovetoRel(SHORT x, SHORT y)
void SetFont(void *pFont)
void SetFontOrientation(WORD orient)
BYTE GetFontOrientation()
WORD OutChar(XCHAR ch)
WORD OutText(XCHAR *pString)
WORD OutTextXY(
SHORT x,
SHORT y,
XCHAR *pString)
SHORT GetTextHeight(void *pFont)
SHORT GetTextWidth(
XCHAR pString,
void *pFont)
void SetLineType(WORD lnType)
void SetLineThickness(WORD lnThickness)
WORD Line(
SHORT x1,
SHORT y1,
SHORT x2,
SHORT y2)
WORD LineRel(
SHORT x,
SHORT y)
WORD LineTo(
SHORT x,
SHORT y)
Description
Initialize the display controller, sets the screen to BLACK,
sets current color to WHITE, sets the cursor at (0,0), sets
the line type to SOLID_LINE and sets the active page
and visual page to 0.
Clears the screen with the current color and sets the
cursor at (0,0).
Returns the graphic cursor x coordinates.
Returns the graphic cursor y coordinates.
Moves the graphic cursor to the new x,y location.
Moves the graphic cursor relative to the current location.
Sets the current font to be used when rendering
characters.
Sets the font orientation to vertical or horizontal
orientation.
orient definition
ORIENT_HOR horizontal
ORIENT_VER vertical
Returns the current font orientation (vertical or horizontal).
See SetFontOrientation().
Renders the character represented by the character ID ch
on the current graphic cursor position using the current
set font and color.
Renders a string of characters pointed to by pString on
the current graphic cursor location using the current set
font and color.
Renders the specified string pointed to by pString on
the location specified by x,y using the current set font
and color.
Returns the height of the specified font.
Returns the width of the specified string for the specified
font.
Sets the line type to render.
lnType definition
SOLID_LINE Solid line
DASHED_LINE Dashed line
Sets the line thickness to render.
lnThickness definition
NORMAL_LINE 1 pixel thick
THICK_LINE 3 pixel thick
Renders a line using the current set line type, line
thickness and color from x1,y1 to x2,y2.
Renders a line using the current set line type, line
thickness and color from the current graphic cursor
position to the relative position specified by the given x
and y displacement.
Renders a line using the current set line type, line
thickness and color from the current graphic cursor
position to the given x,y position.
Primitive Layer
WORD Circle(
SHORT x,
SHORT y,
SHORT r)
WORD FillCircle(
SHORT x,
SHORT y,
SHORT r)
WORD DrawPoly(
SHORT numPoints,
SHORT *polyPoints)
WORD Arc(
SHORT xL,
SHORT yR,
SHORT xR,
SHORT yB,
SHORT r1,
SHORT r2,
BYTE octant)
WORD PutImage(
SHORT left,
SHORT top,
void *pBitmap,
BYTE stretch)
SHORT GetImageHeight(
void *pBitmap)
SHORT GetImageWidth(
void *pBitmap)
SHORT GetSineCosine(
SHORT v,
WORD type)
SHORT Sine(
SHORT v)
SHORT Cosine(
SHORT v)
WORD AlphaBlendWindow(
DWORD foregroundWindowAddr,
DWORD backgroundWindowAddr,
DWORD destinationWindowAddr,
WORD width,
WORD height,
BYTE alphaPercentage)
DWORD GFXGetPageXYAddress(
SHORT pageNumber,
WORD x,
WORD y)
DWORD GFXGetPageOriginAddress(
SHORT pageNumber)
WORD ExternalMemoryCallback(
GFX_EXTDATA *memory,
LONG offset,
WORD nCount,
void *buffer)
Description
Renders a circle using the current set line type, line
size and color located at center on x,y with a radius r.
Renders a filled circle using the current set color
located at center on x,y with a radius r.
Renders a polygon with the current line type, line
size and color where the number of points is given
by numPoints and the polygon points is given by the
array pointed to by polyPoints.
PolyPoints[n] = x0,y0,x1,y1,…xn,yn;
n = numPoints
Draws the octant arc of the beveled figure with the
given centers, radii and octant mask.
Renders the image pointed to by pBitmap starting
from left, top position.
Returns the image height.
Returns the image width.
Returns the sine or cosine (type = GETSINE or
GETCOSINE) values of the given angle v. Return
values are normalized to 256.
Returns the sine value of the given angle v. Return
values are normalized to 256.
Returns the sine value of the given angle v. Return
values are normalized to 256.
Alpha blends the foreground and the background
images with the dimension specified by width and
height and writes the result to the destination.
Graphics Config: USE_ALPHA_BLEND (1)
Calculates the address of the pixel located in x,y
position inside the buffer specified by pageNumber.
Graphics Config: USE_ALPHA_BLEND (1)
Calculates the address of the buffer specified by
pageNumber.
Graphics Config: USE_ALPHA_BLEND (1)
When using external memory, this function must be
implemented in the application code and will contain
code to access external memory with the appropriate
external memory drivers.
Graphics Config: USE_FONT_EXTERNAL or
USE_BITMAP_EXTERNAL
Note:
1. This is an optional feature and is implemented only if the display controller supports alpha blending.
8
Graphics Quick Reference Guide
相关PDF资料
PDF描述
AC164127-9 BOARD DEMO GRAPH TRULY7 800X480
AC164130 BOARD DAUGHT PICTL PLUS ECAN/LIN
AC164131 BOARD DAUGHTER USB PICTAIL PLUS
AC164132 BOARD DAUGHTER PICTAIL ETHERNET
AC164141 BOARD SMART CARD / SIM CARD
相关代理商/技术参数
参数描述
AC164127-9 功能描述:子卡和OEM板 Graphics Display 7" 800x480 Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164128 功能描述:子卡和OEM板 dsPICDEM Motor Cntrl PICtail Plus RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164129 功能描述:子卡和OEM板 Audio PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164130 功能描述:网络开发工具 ECAN/LIN PICtail Plus Daughter Board RoHS:否 制造商:Rabbit Semiconductor 产品:Development Kits 类型:Ethernet to Wi-Fi Bridges 工具用于评估:RCM6600W 数据速率:20 Mbps, 40 Mbps 接口类型:802.11 b/g, Ethernet 工作电源电压:3.3 V
AC164130-2 功能描述:子卡和OEM板 CAN/LIN PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit