This wiki is out of date, use the continuation of this wiki instead

Blendop apply

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:17, 17 January 2008 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 23:05, 17 January 2008 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 3: Line 3:
==Definition== ==Definition==
-'''INT''' blendop_apply ( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' blendopID> )+'''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. Applies a [[blend operation]] to the pixels of a [[graphic]], as if it was rendered into a black (color 0) background.
Line 13: Line 13:
| '''INT''' graphID || - The [[graphID]] of the [[graphic]] to apply the [[blendop]] to. | '''INT''' graphID || - The [[graphID]] of the [[graphic]] to apply the [[blendop]] to.
|- |-
-| '''INT''' blendopID || - The [[blendopID]] of the [[blendop]] to apply.+| '''INT''' blendTable || - The [[blend table]] to apply.
|} |}

Revision as of 23:05, 17 January 2008


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.

Parameters

INT fileID - The fileID of the file holding the graphic.
INT graphID - The graphID of the graphic to apply the blendop 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() •
Personal tools