tahoma2d/toonz/sources/toonzlib/autopos.h

25 lines
751 B
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef AUTOPOS_H
#define AUTOPOS_H
//#include "cleanup.h"
#include "trasterimage.h"
#include "toonz/cleanupparameters.h"
/*---------------------------------------------------------------------------*/
int do_autoalign(const TRasterImageP &image);
int compute_strip_pixel(CleanupTypes::FDG_INFO *fdg, double dpi);
2016-06-15 18:43:10 +12:00
void convert_dots_mm_to_pixel(CleanupTypes::DOT *dots, int nd, double x_res,
double y_res);
2016-03-19 06:57:51 +13:00
int get_image_rotation_and_center(const TRasterP &img, int strip_width,
2016-06-15 18:43:10 +12:00
CleanupTypes::PEGS_SIDE pegs_side,
double *p_ang, double *cx, double *cy,
CleanupTypes::DOT ref[], int ref_dot);
2016-03-19 06:57:51 +13:00
#endif