Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed-rtos mbed
Blit.cpp
00001 #include "Blit.h" 00002 Blit::Blit(int x, int y, int w, int h, int *colors) { 00003 this->x = x; 00004 this->y = y; 00005 this->w = w; 00006 this->h = h; 00007 this->colors = new int[w*h]; 00008 for (int i = 0; i < w*h; i++) { 00009 this->colors[i] = colors[i]; 00010 } 00011 } 00012 void Blit::execute(uLCD_4DGL* uLCD) { 00013 uLCD->BLIT(x,y,w,h,colors); 00014 }
Generated on Thu Jul 14 2022 00:24:34 by
1.7.2