#include <cmath>#include <map>#include "../libs/loki/static_check.h"#include "../libs/sdlmm/src/sdlmm.h"#include "surface.h"#include "blitter.h"#include "../misc.h"#include "../palette.h"Include dependency graph for drawing.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| template<int BytePerPixel, class ColorMergerUL, class ColorMergerLR> | |
| void | rectangle (Surface &surface, const SPoint &pos, int w, int h, const ColorMergerUL &ul, const ColorMergerLR &lr) |
| template<int BytePerPixel, class ColorMergerUL, class ColorMergerLR> | |
| void | rectangle (Surface &surface, const SPoint &pos, int w, int h, const ColorMergerUL &ul, const ColorMergerLR &lr, const SDLmm::SRect &clip) |
| template<int BytePerPixel, class ColorMerger> | |
| void | paintFilledRectangle (Surface &surface, const SPoint &pos, int w, int h, const ColorMerger &ul) |
| SDLmm::Color | lighten_Color (SDLmm::Color color, int factor16) |
| void | lighten_Color (SDLmm::Color *color, int factor16) |
| SDL_Color | lighten_Color (const SDL_Color &color, int factor16) |
| template<int pixelsize, class ColorMerger> | |
| void | drawLine (Surface &surface, const ColorMerger &cm, const SPoint &pos, const SPoint &pos2) |
Variables | |
| char | saturationTranslationTable [256][256] |
|
||||||||||||||||||||||||
|
Definition at line 198 of file drawing.h. References PutPixel2< pixelsize, ColorMerger >::set(). |
|
||||||||||||
|
Definition at line 145 of file drawing.h. References saturationTranslationTable. |
|
||||||||||||
|
Definition at line 140 of file drawing.h. References lighten_Color(). |
|
||||||||||||
|
Definition at line 132 of file drawing.h. References saturationTranslationTable. Referenced by ColorMerger_AlphaLighter< 4 >::assign(), ColorMerger_Alpha_XLAT_TableShifter< pixelsize >::assign(), OverviewMapImage::lighten(), lighten_Color(), and showAttackAnimation(). |
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
Definition at line 35 of file drawing.cpp. Referenced by lighten_Color(), and TableGenerator::TableGenerator(). |
1.4.2