Super Derpy: Muffin Attack
 All Classes Files Functions Variables Enumerations Macros
Functions
allegro_utils.c File Reference

Helper functions for Allegro. More...

#include "allegro_utils.h"

Functions

void al_draw_vertical_gradient_rect (float x, float y, float w, float h, ALLEGRO_COLOR top, ALLEGRO_COLOR bottom)
 Draws rectangle filled with vertical gradient.
void al_draw_horizontal_gradient_rect (float x, float y, float w, float h, ALLEGRO_COLOR left, ALLEGRO_COLOR right)
 Draws rectangle filled with horizontal gradient.
void al_draw_text_with_shadow (ALLEGRO_FONT *font, ALLEGRO_COLOR color, float x, float y, int flags, char const *text)
 Draws text with shadow.

Detailed Description

Helper functions for Allegro.


Function Documentation

void al_draw_text_with_shadow ( ALLEGRO_FONT *  font,
ALLEGRO_COLOR  color,
float  x,
float  y,
int  flags,
char const *  text 
)

Draws text with shadow.

Draws given text two times: once with color (0,0,0,128) and 1px off in both x and y axis, and second time with actual given color and position.