struct CCL::ILinearGradient
Overview
Interface for linear gradient used in brush. More…
#include <igradient.h> struct ILinearGradient: public CCL::IGradient { // methods virtual tresult CCL_API construct ( PointFRef startPoint, PointFRef endPoint, const Stop stops [], int stopCount, IGradient* other = nullptr ) = 0; };
Inherited Members
public: // enums enum TypeHint; // structs struct Stop; // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Interface for linear gradient used in brush.
Methods
virtual tresult CCL_API construct ( PointFRef startPoint, PointFRef endPoint, const Stop stops [], int stopCount, IGradient* other = nullptr ) = 0
Construct linear gradient (optional: copy stops from other gradient).