文件名称:111
介绍说明--下载内容均来自于网络,请自行研究使用
1 .手机屏幕尺寸为 w = 240 h = 320,现提供LCD BUF(type:unsigned short)的起始地址为lcdbuff。要求从坐标(100,10)处开始绘制一条长度为300的黑色(颜色值为0)垂直线。
参考代码:
2 .在第1题的基础上封装一个画垂直线的函数,不考虑颜色。
参考代码:
3 .在第1题的基础上封装一个画水平线的函数,颜色可不考虑。
参考代码:
-The start address of a mobile phone screen size w = 240 h = 320, and now the LCD BUF (type: unsigned short) lcdbuff. Required to start drawing from the coordinates (100,10) at a length of 300 black (color = 0) vertical line. The reference code: 2 encapsulated in the question 1 on the basis of a painting a function of the vertical line, without regard to color. Reference code: package in question 1 on the basis of a painting of a function of the horizon, time to consider color. Reference code:
参考代码:
2 .在第1题的基础上封装一个画垂直线的函数,不考虑颜色。
参考代码:
3 .在第1题的基础上封装一个画水平线的函数,颜色可不考虑。
参考代码:
-The start address of a mobile phone screen size w = 240 h = 320, and now the LCD BUF (type: unsigned short) lcdbuff. Required to start drawing from the coordinates (100,10) at a length of 300 black (color = 0) vertical line. The reference code: 2 encapsulated in the question 1 on the basis of a painting a function of the vertical line, without regard to color. Reference code: package in question 1 on the basis of a painting of a function of the horizon, time to consider color. Reference code:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
应届生笔试题指针与基本图形绘制能力考查3题.doc