Lines Matching refs:w

78 				screen->w*screen->format->BytesPerPixel);  in ClearScreen()
127 dest.x = (screen->w - rotozoom_picture->w)/2; in RotatePicture()
131 dest.x = (screen->w/2) - rotozoom_picture->w; in RotatePicture()
135 dest.w = rotozoom_picture->w; in RotatePicture()
151 dest.x = (screen->w - rotozoom_picture->w)/2; in RotatePicture()
155 dest.x = (screen->w/2) - rotozoom_picture->w; in RotatePicture()
159 dest.w = rotozoom_picture->w; in RotatePicture()
186 dest.x = (screen->w - rotozoom_picture->w)/2;; in RotatePicture()
188 dest.w = rotozoom_picture->w; in RotatePicture()
198 dest.x = (screen->w - rotozoom_picture->w)/2;; in RotatePicture()
200 dest.w = rotozoom_picture->w; in RotatePicture()
247 dest.x = (screen->w - rotozoom_picture->w)/2;; in ZoomPicture()
249 dest.w = rotozoom_picture->w; in ZoomPicture()
291 dest.x = (screen->w - rotozoom_picture->w)/2;; in RotatePicture90Degrees()
293 dest.w = rotozoom_picture->w; in RotatePicture90Degrees()
338 dest.x = (screen->w - rotozoom_picture->w)/2;; in CustomTest()
340 dest.w = rotozoom_picture->w; in CustomTest()
387 r.w = halfsize; in AccuracyTest1()
406 r.w = size; in AccuracyTest1()
416 target.w = 0; in AccuracyTest1()
474 neww = picture->w * factor; in AccuracyTest2()
476 printf (" zoom %ix%i to %ix%i\n", picture->w, picture->h, neww, newh); in AccuracyTest2()
483 target.x = screen->w/2 - zoomed1->w; in AccuracyTest2()
485 target.w = zoomed1->w; in AccuracyTest2()
488 target.x = screen->w/2; in AccuracyTest2()
491 target.x = screen->w/2 - zoomed3->w; in AccuracyTest2()
494 target.x = screen->w/2; in AccuracyTest2()
554 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw()
619 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw()
698 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw()
703 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
726 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, amask, bmask, gmas… in Draw()
770 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw()
774 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
838 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw()
842 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
889 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw()
893 …picture_again = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, rmask, gmask, bmas… in Draw()
976 int w, h; in main() local
986 w = 640; in main()
1027 if ( argv[2] && ((w = atoi(argv[2])) > 0) ) { in main()
1093 printf (" -width # Screen width (Default: %i)\n",w); in main()
1119 screen = SDL_SetVideoMode(w, h, desired_bpp, video_flags); in main()
1122 w, h, desired_bpp, SDL_GetError()); in main()
1128 screen->w, screen->h, screen->format->BitsPerPixel); in main()