Blendop apply

From Bennu Wiki
Revision as of 16:13, 30 August 2009 by Sandman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Definition

INT blendop_apply ( <INT fileID> , <INT graphID> , <INT blendTable> )

Applies a blend operation to the pixels of a graphic, as if it was rendered into a black (color 0) background.

This function actually changes the pixeldata of the graphic.

Parameters

INT fileID - The fileID of the file holding the graphic.
INT graphID - The graphID of the graphic to apply the blend operation to.
INT blendTable - The blend table to apply.

Returns

INT : true


Blendops Functions
Blendop_apply()Blendop_assign()Blendop_free()Blendop_grayscale()Blendop_identity()Blendop_intensity()Blendop_new()Blendop_swap()Blendop_tint()Blendop_translucency()