7#ifndef __HDI_CORE_LIVE_EFFECT__
8#define __HDI_CORE_LIVE_EFFECT__
10#if defined(HDI_CORE_AIP_MODE)
228 friend Parameters __accessCtor(AILiveEffectParameters);
240 void* __impl()
const;
250 typedef std::unique_ptr<Parameters> ParametersUP;
251 typedef std::shared_ptr<Parameters> ParametersSP;
252 typedef std::weak_ptr<Parameters> ParametersWP;
254 enum PreferredInputArtType
256 InputArtTypeDynamic = 0,
257 InputArtTypeGroup = 1 << 0,
258 InputArtTypePath = 1 << 1,
259 InputArtTypeCompoundPath = 1 << 2,
260 InputArtTypePlaced = 1 << 3,
261 InputArtTypeRaster = 1 << 4,
262 InputArtTypeCustom = 1 << 5,
263 InputArtTypeMesh = 1 << 6,
264 InputArtTypeText = 1 << 7,
265 InputArtTypeSymbol = 1 << 8,
266 InputArtTypeForeign = 1 << 9,
267 InputArtTypeTextLegacy = 1 << 10,
268 InputArtTypeAll = ~0L
282 PostEffectFilter = 2,
292 FilterTypeMask = 0xFFFF,
295 HasScalableParams = 1 << 17,
298 UsesAutoRasterize = 1 << 18,
301 CanGenerateSVGFilter = 1 << 19,
304 HandlesAdjustColorMsg = 1 << 20,
308 HandlesIsCompatibleMsg = 1 << 21
316 UnknownMergeAction = 0,
317 AppendMergeAction = 10,
318 ReplaceFillMergeAction = 20,
319 ReplaceStrokeMergeAction = 30
420 virtual std::string
name()
const;
440 virtual bool version(int32_t& major__, int32_t& minor__)
const;
512 void* __impl()
const;
515 typedef std::unique_ptr<LiveEffect> LiveEffectUP;
516 typedef std::shared_ptr<LiveEffect> LiveEffectSP;
517 typedef std::weak_ptr<LiveEffect> LiveEffectWP;
525hdi::core::LiveEffect::PreferredInputArtType operator|(
526 const hdi::core::LiveEffect::PreferredInputArtType lhs_,
527 const hdi::core::LiveEffect::PreferredInputArtType rhs_
530hdi::core::LiveEffect::PreferredInputArtType& operator|=(
531 hdi::core::LiveEffect::PreferredInputArtType& lhs__,
532 const hdi::core::LiveEffect::PreferredInputArtType rhs_
Describes the fill styling of a path.
Definition: hdicorePathStyle.h:147
Describes the parameters of an Illustrator live effect.
Definition: hdicoreLiveEffect.h:27
virtual std::string displayString() const
Gets the string that is displayed by the panel in reference to the filter name, if it is set.
virtual Parameters & operator=(const Parameters &rhs_)
Assigns one Parameters object to another.
virtual std::string extraString() const
Gets the string that gives extra information for the panel to display for this filter,...
virtual bool isEmpty() const
Gets whether the target Parameters object is empty (constructed with the default ctor)
Parameters()
Constructs an empty Parameters object.
virtual double scaleFactor() const
Gets the scale factor for the target param.
virtual bool fillStyle(FillStyle &fs__) const
Gets the fill style for the target param.
virtual ~Parameters()
Parameters object destructor.
virtual bool fillStyleMatrix(TransformMatrix &m__) const
Gets the fill transform for the target param.
virtual AILiveEffectParameters aiLiveEffectParams() const
Gets the live effect param ref around which the target object is wrapped.
virtual bool xformedStrokeStyle(StrokeStyle &ss__) const
Gets the stroke style for the target param, but with the object's style matrix multiplied in for grad...
virtual bool xformedFillStyle(FillStyle &fs__) const
Gets the fill style for the target param, but with the object's style matrix multiplied in for gradie...
virtual bool strokeStyle(StrokeStyle &ss__) const
Gets the stroke style for the target param.
virtual bool strokeStyleMatrix(TransformMatrix &m__) const
Gets the stroke transform for the target param.
Parameters(const Parameters &p_)
Constructs a new Parameters object from an existing Parameters object (copy ctor)
virtual bool operator==(const Parameters &rhs_) const
Tests whether a given Parameters object is the same as another.
virtual bool evenOdd() const
Gets the even-odd fill rule for the target param.
virtual bool operator!=(const Parameters &rhs_) const
Tests whether a given Parameters object is not the same as another.
Definition: hdicoreLiveEffect.h:21
virtual bool getEarliestAppVersion(int16_t &rgbVers__, int16_t &cmykVers__) const
Gets the earliest Illustrator version that an effect supports.
virtual bool mergeIntoSelection(const MergeAction act_)
Merges the target effect into the existing style of all selected objects.
virtual StyleFlags styleFlags() const
Gets the style flags of the target effect.
LiveEffect(const LiveEffect &le_)
Constructs a new LiveEffect object from an existing LiveEffect object (copy constructor)
virtual LiveEffect & operator=(const LiveEffect &rhs_)
Assigns one LiveEffect object to another.
LiveEffect(const AILiveEffectHandle aiLiveEff_)
Constructs a new LiveEffect object from an AILiveEffectHandle.
virtual bool version(int32_t &major__, int32_t &minor__) const
Gets the version info for the target live effect.
virtual ~LiveEffect()
LiveEffect object destructor.
virtual std::string name() const
Gets the unique name of the target effect.
virtual bool operator==(const LiveEffect &rhs_) const
Tests whether a given LiveEffect object is the same as another.
MergeAction
Describes the merge action of a live effect.
Definition: hdicoreLiveEffect.h:315
virtual AILiveEffectHandle aiLiveEffectHandle() const
Gets the live effect handle around which the target object is wrapped.
StyleFlags
Describes the style of a live effect.
Definition: hdicoreLiveEffect.h:275
virtual bool operator!=(const LiveEffect &rhs_) const
Tests whether a given LiveEffect object is not the same as another.
virtual std::string title() const
Gets the UI-visible title of the effect.
virtual bool isEmpty() const
Gets whether the target LiveEffect object is empty (constructed with the default ctor)
virtual void setEarliestAppVersion(const int16_t rgbVers_, const int16_t cmykVers_)
Sets the earliest Illustrator version that an effect supports.
LiveEffect()
Constructs an empty LiveEffect object.
virtual PreferredInputArtType inputArtPreference() const
Gets the preferred input art types of the target effect.
Describes the stroke styling of a path.
Definition: hdicorePathStyle.h:260
Header file for path style-related classes.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.