Blame toonz/sources/toonzlib/autopos.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef AUTOPOS_H
|
|
Toshihiro Shimizu |
890ddd |
#define AUTOPOS_H
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
//#include "cleanup.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "trasterimage.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "toonz/cleanupparameters.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
/*---------------------------------------------------------------------------*/
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
int do_autoalign(const TRasterImageP &image);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
int compute_strip_pixel(CleanupTypes::FDG_INFO *fdg, double dpi);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
void convert_dots_mm_to_pixel(CleanupTypes::DOT *dots, int nd, double x_res,
|
|
Shinya Kitaoka |
120a6e |
double y_res);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
int get_image_rotation_and_center(const TRasterP &img, int strip_width,
|
|
Shinya Kitaoka |
120a6e |
CleanupTypes::PEGS_SIDE pegs_side,
|
|
Shinya Kitaoka |
120a6e |
double *p_ang, double *cx, double *cy,
|
|
Shinya Kitaoka |
120a6e |
CleanupTypes::DOT ref[], int ref_dot);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|