struct CCL::ITickScale

Overview

Interface used to paint a grid. More…

#include <iparameter.h>

struct ITickScale: public CCL::IUnknown
{
    // methods

    virtual int CCL_API getNumTicks (int weight) const = 0;

    virtual tbool CCL_API getTick (
        double& pos,
        String* label,
        int weight,
        int index
    ) const = 0;

    virtual tbool CCL_API isHiliteTick (int weight, int index) const = 0;
};

Inherited Members

public:
    // 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 used to paint a grid.

See also:

ControlGridPainter

Methods

virtual int CCL_API getNumTicks (int weight) const = 0

Get number of ticks for drawing a scale.

virtual tbool CCL_API getTick (
    double& pos,
    String* label,
    int weight,
    int index
) const = 0

Get value of tick.

virtual tbool CCL_API isHiliteTick (int weight, int index) const = 0

Certain ticks can be hilited.