LM图形库(Graphics Library)的函数意思

2019-03-24 16:03发布

图形库手册中说的这个函数是什么意思啊?大家知道怎么编写吗?或者可以帮忙解释一下:
2.2.1.6  Pixel DrawMultiple
Draws a horizontal sequence of pixels on the screen.
Prototype:
void PixelDrawMultiple( void *pvDisplayData,
                                            long lX,
                                            long lY,
                                            long lX0,   *1*
                                            long lCount,  *2*
                                            long lBPP,  *3*
                                            const unsigned char *pucData, *4*
                                            const unsigned char *pucPalette  *5*)
参数:
lX0 is sub-pixel offset within the pixel data(应该是像素点不能超过范围), which is valid for 1 or 4 bit per pixel formats(这句是什么意思?)
lCount is the number of pixel to draw.(麻烦也顺便说明一下哈)
lBPP is the number of bits per pixel; must be 1,4, or 8(什么意思?)
pucData is a pointer to the pixel data. For 1 and 4 bit per pixel formats, the most significant bit(s) represent the left-most pixel.
pucPalette is a pointer to the palette used to draw the pixels.

函数功能描述:
This function draws a horizontal sequence of pixels on the screen, using the supplied palette. For 1 bit per pixel format, the palette contains pre-translated colors; for 4 and 8 bit per pixel formats, the palette contains 24-bit RGB values that must be translated before being written to the display.

麻烦大侠拨冗一顾,给小弟以指点!或许跟我一样的学习者大家讨论讨论~ 此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
1条回答
zfnuaa
1楼-- · 2019-03-25 02:01
 精彩回答 2  元偷偷看……

一周热门 更多>

相关问题

    相关文章