#include "../motion/affine.h"#include "bcdisplayinfo.h"#include "clip.h"#include "bchash.h"#include "filexml.h"#include "guicast.h"#include "language.h"#include "picon_png.h"#include "pluginvclient.h"#include "rotateframe.h"#include "vframe.h"#include <string.h>

Go to the source code of this file.
Data Structures | |
| class | RotateConfig |
| class | RotateToggle |
| class | RotateDrawPivot |
| class | RotateInterpolate |
| class | RotateFine |
| class | RotateX |
| class | RotateY |
| class | RotateText |
| class | RotateWindow |
| class | RotateEffect |
Defines | |
| #define | SQR(x) ((x) * (x)) |
| #define | MAXANGLE 360 |
| #define | RADIUS 30 |
| #define | CENTER_H 20 |
| #define | CENTER_W 20 |
| #define | DRAW_CENTER(components, type, max) |
| #define CENTER_H 20 |
Referenced by RotateEffect::handle_opengl().
| #define CENTER_W 20 |
Referenced by RotateEffect::handle_opengl().
| #define DRAW_CENTER | ( | components, | |||
| type, | |||||
| max | ) |
Value:
{ \
type **rows = (type**)get_output()->get_rows(); \
if(center_x >= 0 && center_x < w || \
center_y >= 0 && center_y < h) \
{ \
type *hrow = rows[center_y] + components * (center_x - CENTER_W / 2); \
for(int i = center_x - CENTER_W / 2; i <= center_x + CENTER_W / 2; i++) \
{ \
if(i >= 0 && i < w) \
{ \
hrow[0] = max - hrow[0]; \
hrow[1] = max - hrow[1]; \
hrow[2] = max - hrow[2]; \
hrow += components; \
} \
} \
\
for(int i = center_y - CENTER_W / 2; i <= center_y + CENTER_W / 2; i++) \
{ \
if(i >= 0 && i < h) \
{ \
type *vrow = rows[i] + center_x * components; \
vrow[0] = max - vrow[0]; \
vrow[1] = max - vrow[1]; \
vrow[2] = max - vrow[2]; \
} \
} \
} \
}
Referenced by RotateEffect::process_buffer().
1.5.5