Blame toonz/sources/tnztools/autofill.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef _AUTOFILL_H_
|
|
Toshihiro Shimizu |
890ddd |
#define _AUTOFILL_H_
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#include "ttoonzimage.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "tvectorimage.h"
|
|
Toshihiro Shimizu |
890ddd |
class TTileSetCM32;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
void rect_autofill_learn(const TToonzImageP &imgToLearn, int x1, int y1, int x2, int y2);
|
|
Toshihiro Shimizu |
890ddd |
bool rect_autofill_apply(const TToonzImageP &imgToApply, int x1, int y1, int x2, int y2, bool selective, TTileSetCM32 *tileSet);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
void autofill_learn(const TToonzImageP &imgToLearn);
|
|
Toshihiro Shimizu |
890ddd |
bool autofill_apply(const TToonzImageP &imgToApply, bool selective, TTileSetCM32 *tileSet);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
void rect_autofill_learn(const TVectorImageP &imgToLearn, const TRectD &rect);
|
|
Toshihiro Shimizu |
890ddd |
bool rect_autofill_apply(const TVectorImageP &imgToApply, const TRectD &rect, bool selective);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
void stroke_autofill_learn(const TVectorImageP &imgToLearn, TStroke *stroke);
|
|
Toshihiro Shimizu |
890ddd |
bool stroke_autofill_apply(const TVectorImageP &imgToApply, TStroke *stroke, bool selective);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|