Revision 110
something
graphics.c | ||
---|---|---|
128 | 128 |
if ((r = set_pixel(x + i, y, color))) return r; |
129 | 129 |
|
130 | 130 |
return SUCCESS; |
131 |
|
|
132 |
//uint8_t color8 = color; |
|
133 |
//set_pixel(x,y,color); |
|
134 |
//set_pixel(x+1,y,color); |
|
135 |
//set_pixel(x+2,y,color); |
|
136 |
//*(p++) = color8; |
|
137 |
//*(p++) = color8; |
|
138 |
//*(p++) = color8; |
|
139 |
/* |
|
140 |
for(void *p = video_mem; p-video_mem < len; ++p){ |
|
141 |
*p = color; |
|
142 |
} |
|
143 |
*/ |
|
144 |
/* |
|
145 |
for(uint16_t l = 0; l < len; ++l){ |
|
146 |
*((uint8_t*)(video_mem)+y*1024+x+len) = color8; |
|
147 |
} |
|
148 |
*/ |
|
149 | 131 |
} |
150 | 132 |
|
151 | 133 |
int (vg_draw_rectangle)(uint16_t x, uint16_t y,uint16_t width, uint16_t height, uint32_t color) { |
Also available in: Unified diff