add: if (TFB_DrawCanvas_GetTransparentColor (src, &r, &g, &b)) { TFB_DrawCanvas_SetTransparentColor (dst, r, g, b, FALSE);  SDL_FillRect(dst, NULL, SDL_MapRGB(dst->format, r, g, b)); }
context: TFB_DrawCanvas_Rotate (TFB_Canvas src_canvas, TFB_Canvas dst_canvas, int angle, EXTENT size){	SDL_Surface *src = (SDL_Surface *)src_canvas;	SDL_Surface *dst = (SDL_Surface *)dst_canvas;	int ret;	if (size.width > dst->w || size.height > dst->h) 	{		fprintf (stderr, "TFB_DrawCanvas_Rotate: Tried to rotate image to size %d %d when dst_canvas has only dimensions of %d %d!  Failing.\n",			size.width, size.height, dst->w, dst->h);		return;	}	ret = rotateSurface (src, dst, angle, 0);	if (ret != 0)	{		fprintf (stderr, "TFB_DrawCanvas_Rotate: WARNING: actual rotation func returned failure\n");	}}