tahoma2d/toonz/sources/stdfx/gradients.h

32 lines
839 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 GRADIENTS_H
#define GRADIENTS_H
#include "tfxparam.h"
#include "trop.h"
#include "trasterfx.h"
struct MultiRAdialParams {
2016-06-15 18:43:10 +12:00
int m_shrink;
double m_scale;
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
double m_intensity;
double m_gridStep;
2016-03-19 06:57:51 +13:00
};
/*---------------------------------------------------------------------------*/
2016-06-15 18:43:10 +12:00
//! Deals with raster tiles and invokes multiradial functions
void multiRadial(const TRasterP &ras, TPointD posTrasf,
const TSpectrumParamP colors, double period, double count,
double cycle, const TAffine &aff, double frame);
void multiLinear(const TRasterP &ras, TPointD posTrasf,
const TSpectrumParamP colors, double period, double count,
double amplitude, double freq, double phase, double cycle,
const TAffine &aff, double frame);
2016-03-19 06:57:51 +13:00
#endif