#include "swf.h"#include "graphic24.h"Include dependency graph for graphic24.cc:

Go to the source code of this file.
Defines | |
| #define | FULL_AA |
| #define | PRINT 0 |
| #define | BPP 3 |
| #define | PUTPIXEL() |
| #define | DRAWLINE(dx, dy, inc_1, inc_2) |
| #define | PUTPIXEL() |
| #define | DRAWLINE(dx, dy, inc_1, inc_2) |
Typedefs | |
| typedef unsigned char | TYPE |
Functions | |
| static void | mix_alpha (TYPE *c1, Color c2, int alpha) |
Variables | |
| unsigned char | SQRT [] |
|
|
Definition at line 34 of file graphic24.cc. Referenced by GraphicDevice24::clearCanvas(), GraphicDevice24::fillLine(), GraphicDevice24::fillLineAA(), GraphicDevice24::fillLineBitmap(), GraphicDevice24::fillLineLG(), and GraphicDevice24::fillLineRG(). |
|
|
Value: |
|
|
Value: n=dx;\
a=2*dy-dx;\
dy=2*dy;\
dx=2*dx-dy;\
do {\
PUTPIXEL();\
if (a>0) { pp+=(inc_1); a-=dx; }\
else { pp+=(inc_2); a+=dy; }\
} while (--n >= 0);
|
|
|
Definition at line 29 of file graphic24.cc. |
|
|
Definition at line 31 of file graphic24.cc. |
|
|
Value: |
|
|
Value: { \
*pp++=color.red; \
*pp++=color.green; \
*pp++=color.blue; \
}
|
|
|
Definition at line 33 of file graphic24.cc. |
|
||||||||||||||||
|
Definition at line 78 of file graphic24.cc. References Color::blue, Color::green, and Color::red. |
|
|
|
1.4.2