#include "draw.hpp"
#include "color.hpp"
#include "log.hpp"
#include "sdl/rect.hpp"
#include "sdl/texture.hpp"
#include "sdl/utils.hpp"
#include "video.hpp"
#include <SDL2/SDL_rect.h>
#include <SDL2/SDL_render.h>
Go to the source code of this file.
◆ DBG_D
◆ WRN_D
◆ draw_rect_as_lines()
static void draw_rect_as_lines |
( |
const SDL_Rect & |
rect | ) |
|
|
static |
◆ get_flip()
static SDL_RendererFlip get_flip |
( |
bool |
flip_h, |
|
|
bool |
flip_v |
|
) |
| |
|
static |
◆ renderer()
static SDL_Renderer* renderer |
( |
| ) |
|
|
static |
Definition at line 31 of file draw.cpp.
References video::get_renderer().
Referenced by draw::blit(), draw::clear(), draw::clip_enabled(), draw::disable_clip(), display::draw_hex(), display::draw_text_in_hex(), draw::fill(), draw::flipped(), draw::force_clip(), draw::force_viewport(), draw::get_clip(), draw::get_viewport(), draw::line(), draw::null_clip(), draw::point(), draw::points(), draw::rect(), draw::render_target_setter::render_target_setter(), texture::reset(), draw::set_blend_mode(), draw::set_color(), draw::smooth_shaded(), texture::texture(), draw::tiled_highres(), and draw::render_target_setter::~render_target_setter().
◆ sdl_bad_at_rects()
static bool sdl_bad_at_rects |
( |
| ) |
|
|
static |
◆ log_draw