7#ifndef __HDI_CORE_LIVE_EFFECT__
8#define __HDI_CORE_LIVE_EFFECT__
10#if defined(HDI_CORE_AIP_MODE)
231 friend Parameters __accessCtor(AILiveEffectParameters);
243 void* __impl()
const;
253 typedef std::unique_ptr<Parameters> ParametersUP;
254 typedef std::shared_ptr<Parameters> ParametersSP;
255 typedef std::weak_ptr<Parameters> ParametersWP;
257 enum PreferredInputArtType
259 InputArtTypeDynamic = 0,
260 InputArtTypeGroup = 1 << 0,
261 InputArtTypePath = 1 << 1,
262 InputArtTypeCompoundPath = 1 << 2,
263 InputArtTypePlaced = 1 << 3,
264 InputArtTypeRaster = 1 << 4,
265 InputArtTypeCustom = 1 << 5,
266 InputArtTypeMesh = 1 << 6,
267 InputArtTypeText = 1 << 7,
268 InputArtTypeSymbol = 1 << 8,
269 InputArtTypeForeign = 1 << 9,
270 InputArtTypeTextLegacy = 1 << 10,
271 InputArtTypeAll = ~0L
285 PostEffectFilter = 2,
295 FilterTypeMask = 0xFFFF,
298 HasScalableParams = 1 << 17,
301 UsesAutoRasterize = 1 << 18,
304 CanGenerateSVGFilter = 1 << 19,
307 HandlesAdjustColorMsg = 1 << 20,
311 HandlesIsCompatibleMsg = 1 << 21
319 UnknownMergeAction = 0,
320 AppendMergeAction = 10,
321 ReplaceFillMergeAction = 20,
322 ReplaceStrokeMergeAction = 30
423 virtual std::string
name()
const;
443 virtual bool version(int32_t& major__, int32_t& minor__)
const;
515 void* __impl()
const;
518 typedef std::unique_ptr<LiveEffect> LiveEffectUP;
519 typedef std::shared_ptr<LiveEffect> LiveEffectSP;
520 typedef std::weak_ptr<LiveEffect> LiveEffectWP;
528hdi::core::LiveEffect::PreferredInputArtType operator|(
529 const hdi::core::LiveEffect::PreferredInputArtType lhs_,
530 const hdi::core::LiveEffect::PreferredInputArtType rhs_
533hdi::core::LiveEffect::PreferredInputArtType& operator|=(
534 hdi::core::LiveEffect::PreferredInputArtType& lhs__,
535 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:30
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.
Encapsulates live effect functionality from the Illustrator SDK.
Definition hdicoreLiveEffect.h:24
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:318
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:278
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.