Lines Matching +full:red +full:- +full:x
59 var red = this.buffer[this.pos++];
62 red: red, property
93 for (var y = this.height - 1; y >= 0; y--) {
94 for (var x = 0; x < xlen; x++) {
96 var location = y * this.width * 4 + x*8*4;
98 if(x*8+i<this.width){
99 var rgb = this.palette[((b>>(7-i))&0x1)];
100 this.data[location+i*4] = rgb.red;
111 this.pos+=(4 - mode);
119 for (var y = this.height - 1; y >= 0; y--) {
120 for (var x = 0; x < xlen; x++) {
122 var location = y * this.width * 4 + x*2*4;
128 this.data[location] = rgb.red;
133 if(x*2+1>=this.width)break;
136 this.data[location+4] = rgb.red;
143 this.pos+=(4 - mode);
151 for (var y = this.height - 1; y >= 0; y--) {
152 for (var x = 0; x < this.width; x++) {
154 var location = y * this.width * 4 + x*4;
157 this.data[location] = rgb.red;
169 this.pos+=(4 - mode);
179 dif_w = 4 - dif_w;
182 for (var y = this.height - 1; y >= 0; y--) {
183 for (var x = 0; x < this.width; x++) {
189 var red = (B >> 10 & _1_5) / _1_5 * 255 | 0;
192 var location = y * this.width * 4 + x * 4;
193 this.data[location] = red;
208 dif_w = 4 - dif_w;
212 for (var y = this.height - 1; y >= 0; y--) {
213 for (var x = 0; x < this.width; x++) {
220 var red = (B >> 10 & _1_5) / _1_5 * 255 | 0;
222 var location = y * this.width * 4 + x * 4;
223 this.data[location] = red;
238 dif_w = 4 - dif_w;
240 for (var y = this.height - 1; y >= 0; y--) {
241 for (var x = 0; x < this.width; x++) {
244 var red = this.buffer[this.pos++];
245 var location = y * this.width * 4 + x * 4;
246 this.data[location] = red;
263 for (var y = this.height - 1; y >= 0; y--) {
264 for (var x = 0; x < this.width; x++) {
267 var red = this.buffer[this.pos++];
269 var location = y * this.width * 4 + x * 4;
271 this.data[location] = red;