#include "pgdraw.h"#include <cmath>#include <cassert>Include dependency graph for gradient.cpp:

Go to the source code of this file.
Functions | |
| SDL_Surface * | PG_Draw::CreateGradient (const PG_Rect &r, PG_Gradient &gradient) |
| SDL_Surface * | PG_Draw::CreateGradient (const PG_Rect &r, const PG_Color &ul, const PG_Color &ur, const PG_Color &dl, const PG_Color &dr) |
| void | PG_Draw::DrawGradient (SDL_Surface *surface, const PG_Rect &r, PG_Gradient &gradient) |
| void | PG_Draw::DrawGradient (SDL_Surface *surface, const PG_Rect &rect, const PG_Color &ul, const PG_Color &ur, const PG_Color &dl, const PG_Color &dr) |
|
||||||||||||||||||||||||
|
Definition at line 45 of file gradient.cpp. References PG_Draw::CreateRGBSurface(), PG_Draw::DrawGradient(), PG_Rect::my_xpos, and PG_Rect::my_ypos. |
|
||||||||||||
|
Definition at line 36 of file gradient.cpp. References PG_Gradient::colors, and PG_Draw::CreateGradient(). |
|
||||||||||||||||||||||||||||
|
Definition at line 65 of file gradient.cpp. References PG_Rect::IntersectRect(), PG_Rect::IsNull(), PG_Color::MapRGB(), PG_Rect::my_height, PG_Rect::my_width, r1, and r2. |
|
||||||||||||||||
|
Definition at line 55 of file gradient.cpp. References PG_Gradient::colors, and PG_Draw::DrawGradient(). |
1.4.2