#include "surface.h"
#include <SDL.h>
#include <SDL_endian.h>
#include <SDL_gfxPrimitives.h>
#include <SDL_image.h>
#include <SDL_rotozoom.h>
#include "../tool/debug.h"
#include "../tool/error.h"
#include "../tool/i18n.h"
#include "../include/base.h"
Include dependency graph for surface.cpp:
Go to the source code of this file.
Variables | |
static const double | ratio_deg_to_rad = 180 / M_PI |
const double ratio_deg_to_rad = 180 / M_PI [static] |
angle | in radian | |
zoomx | ||
zoomy | ||
smooth | Warning rotozoomSurfaceXY uses degrees so the rotation of image use degrees here, but when accessing thanks to GetSurfaceForAngle the index is using radian (because we juste need an index in array, not an angle) |
Definition at line 447 of file surface.cpp.