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

Go to the source code of this file.
Defines | |
| #define | FULL_AA |
| #define | PRINT 0 |
| #define | RED_MASK 0xFF0000 |
| #define | GREEN_MASK 0x00FF00 |
| #define | BLUE_MASK 0x0000FF |
| #define | PUTPIXEL() |
| #define | DRAWLINE(dx, dy, inc_1, inc_2) |
| #define | PUTPIXEL() |
| #define | DRAWLINE(dx, dy, inc_1, inc_2) |
Typedefs | |
| typedef unsigned long | TYPE |
Functions | |
| static unsigned long | mix_alpha (unsigned long c1, unsigned long c2, int alpha) |
Variables | |
| unsigned char | SQRT [] |
|
|
Definition at line 79 of file graphic32.cc. |
|
|
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);
|
|
|
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 graphic32.cc. |
|
|
Definition at line 78 of file graphic32.cc. |
|
|
Definition at line 31 of file graphic32.cc. |
|
|
Value: |
|
|
Value: { \
*pp=color; \
}
|
|
|
Definition at line 77 of file graphic32.cc. |
|
|
Definition at line 33 of file graphic32.cc. |
|
||||||||||||||||
|
Definition at line 83 of file graphic32.cc. References BLUE_MASK, g, GREEN_MASK, and RED_MASK. |
|
|
|
1.4.2