Lines Matching refs:y1
98 static void drawline(unsigned char* buffer,int rowstride,int bpp,int x1,int y1,int x2,int y2) in drawline() argument
101 i=x1-x2; j=y1-y2; in drawline()
104 buffer[y1*rowstride+x1*bpp+i]=0xff; in drawline()
110 if(y1>y2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } in drawline()
111 for(j=y1;j<=y2;j++) in drawline()
113 buffer[j*rowstride+(x1+(j-y1)*(x2-x1)/(y2-y1))*bpp+i]=0xff; in drawline()
115 if(x1>x2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } in drawline()
118 buffer[(y1+(i-x1)*(y2-y1)/(x2-x1))*rowstride+i*bpp+j]=0xff; in drawline()
130 int i,j,x1,x2,y1,y2; in doptr() local
135 x1=x; y1=y; in doptr()
137 if(y1>cd->oldy) y1++; else cd->oldy++; in doptr()
143 y1=y-buttonMask; if(y1<0) y1=0; in doptr()
147 for(j=y1;j<y2;j++) in doptr()
149 rfbMarkRectAsModified(cl->screen,x1,y1,x2,y2); in doptr()
201 int x1=cd->oldx,y1=cd->oldy,x2,y2; in dokey() local
203 rfbFontBBox(&radonFont,(char)key,&x1,&y1,&x2,&y2); in dokey()
204 rfbMarkRectAsModified(cl->screen,x1,y1,x2-1,y2-1); in dokey()