struct CCL::IGraphicsLayerContent

Overview

#include <igraphicslayer.h>

struct IGraphicsLayerContent: public CCL::IUnknown
{
    // typedefs

    typedef GraphicsContentHint LayerHint;

    // methods

    virtual LayerHint CCL_API getLayerHint () const = 0;

    virtual void CCL_API drawLayer (
        IGraphics& graphics,
        const UpdateRgn& updateRgn,
        PointRef offset = Point ()
    ) = 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

Methods

virtual LayerHint CCL_API getLayerHint () const = 0

Get hint how content will be drawn into the layer.

Used for optimizations (e.g. if background should be cleared).