struct CCL::IRadialGradient

Overview

Interface for radial gradient used in brush. More…

#include <igradient.h>

struct IRadialGradient: public CCL::IGradient
{
    // methods

    virtual tresult CCL_API construct (
        PointFRef center,
        float radius,
        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 radial gradient used in brush.

Methods

virtual tresult CCL_API construct (
    PointFRef center,
    float radius,
    const Stop stops [],
    int stopCount,
    IGradient* other = nullptr
) = 0

Construct radial gradient (optional: copy stops from other gradient)