Home | History | Annotate | Download | only in test

Lines Matching refs:width

11   for(i=0;i<server->width;i++)
13 server->frameBuffer[(j*server->width+i)*4+0]=i&0xff;
14 server->frameBuffer[(j*server->width+i)*4+1]=j&0xff;
15 server->frameBuffer[(j*server->width+i)*4+2]=(i*j)&0xff;
21 int width=400,height=300,w=20,x,y;
24 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4);
27 server->frameBuffer=(char*)malloc(width*height*4);
36 rfbMarkRectAsModified(server,0,0,width,height);
45 x=width*(0.5+cos(phi)*r);
47 if(x>=0 && y>=0 && x+w<=width && y+w<=height) {
48 unsigned int dx=width*0.5*(1-cos(phi)*r)-x,