OCRudoku  v1.0
Resolve word grid with ease
Loading...
Searching...
No Matches
EZ_image.h
Go to the documentation of this file.
1#include <SDL2/SDL.h>
2#include <SDL2/SDL_image.h>
3#include "../EZ_utils.h"
5
6#ifndef EZ_IMAGE_H
7#define EZ_IMAGE_H
8
15
16EZ_image* EZ_create_image_file(char* file, SDL_Renderer* renderer, anchore_point dst_anchore, int auto_aspect);
17
18EZ_image* EZ_create_image(SDL_Surface* surface, SDL_Renderer* renderer, anchore_point dst_anchore, int auto_aspect);
19
20void EZ_edit_image(EZ_image* image, SDL_Surface* surface, SDL_Renderer* renderer, int auto_aspect);
21
22#endif
EZ_image * EZ_create_image_file(char *file, SDL_Renderer *renderer, anchore_point dst_anchore, int auto_aspect)
Creates an EZ_image from a file.
Definition EZ_image.c:4
EZ_image * EZ_create_image(SDL_Surface *surface, SDL_Renderer *renderer, anchore_point dst_anchore, int auto_aspect)
Creates an EZ_image from an SDL_Surface.
Definition EZ_image.c:58
void EZ_edit_image(EZ_image *image, SDL_Surface *surface, SDL_Renderer *renderer, int auto_aspect)
Edits an existing EZ_image with a new SDL_Surface.
Definition EZ_image.c:110
Definition EZ_utils.h:9
Definition EZ_image.h:10
EZ_DRAWABLE drawable_image
Definition EZ_image.h:11
anchore_point image_anchore
Definition EZ_image.h:13
SDL_Surface * image_surface
Definition EZ_image.h:12
Definition RenderingUtils.h:7