X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-core%2Fsrc%2Fsynfig%2Flayer_motionblur.h;h=9b4391cca8bf36a7e5d235cd4e9e4548c7c87925;hb=813c9518c88ab69610aa506392a33fc1560782b5;hp=b476f592fd4ba228f3890ea706869368e1f6d36c;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-core/src/synfig/layer_motionblur.h b/synfig-core/src/synfig/layer_motionblur.h index b476f59..9b4391c 100644 --- a/synfig-core/src/synfig/layer_motionblur.h +++ b/synfig-core/src/synfig/layer_motionblur.h @@ -39,8 +39,21 @@ class Layer_MotionBlur : public synfig::Layer_Composite { SYNFIG_LAYER_MODULE_EXT + enum SubsamplingType + { + SUBSAMPLING_CONSTANT=0, //!< weight each subsample equally + SUBSAMPLING_LINEAR=1, //!< fade in subsamples linearly + SUBSAMPLING_HYPERBOLIC=2, //!< fade in subsamples by a hyperbolic curve (default style of 0.62 and previous) + + SUBSAMPLING_END=2 //!< \internal + }; + private: Time aperture; + Real subsamples_factor; + SubsamplingType subsampling_type; + Real subsample_start; + Real subsample_end; mutable Time time_cur; public: