...

Chasys Draw IES Help:


SDK - Layer Attachments - BLND
 

Using the BLND meta-type

The BLND attachment allows plug-ins that generate content with blend-modes not natively supported by Chasys Draw IES to define a custom mode to be used to render such content -- the BLND tells Chasys Draw IES how to render the blend-mode. For example, Chasys Draw IES doesn't have an equivalent for Photoshop's “Soft Light” mode, so the flt_PSD plug-in adds BLND attachments that define the “Soft Light” mode to layers that need it.

struct meta_tag_BLND
{
    unsigned char  type;
    unsigned char  mode;
    unsigned short span;
    unsigned long  flags;
    wchar_t        name[32];
};

The plug-in requests metadata of size sizeof(meta_tag_BLND)+size_of_plugin_data. The plug-in then proceeds to fill the header with the type, the span, and a name in [namespace.name] format (e.g. “photoshop.SoftLight”). The plug-in populates the rest of the space with the relevant data as defined by the type and span.