Skip to content
Starlon edited this page Nov 30, 2011 · 2 revisions

Functions

<tr>
<td class="name" nowrap><a href="#BLEND">BLEND</a>&nbsp;(a, b)</td>
<td class="summary">Blend two colors </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_ADJ">BLEND_ADJ</a>&nbsp;(a, b, v)</td>
<td class="summary">Blend two colors </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_AVG">BLEND_AVG</a>&nbsp;(a, b)</td>
<td class="summary">Blend two colors </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_LINE">BLEND_LINE</a>&nbsp;(line_blend_mode, fb, n, color)</td>
<td class="summary">Blend a cell within a buffer with a color </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_MAX">BLEND_MAX</a>&nbsp;(a, b)</td>
<td class="summary">Blend two colors </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_MIN">BLEND_MIN</a>&nbsp;(a, b)</td>
<td class="summary">Blend two colors </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_MUL">BLEND_MUL</a>&nbsp;(a, b)</td>
<td class="summary">Blend two colors </td>
</tr>

<tr>
<td class="name" nowrap><a href="#BLEND_SUB">BLEND_SUB</a>&nbsp;(a, b)</td>
<td class="summary">Blend two colors </td>
</tr>


Functions

BLEND (a, b)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

Usage:

BLEND(a, b)

Return value:

The new color
BLEND_ADJ (a, b, v)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

<li>
  v: 
</li>

Usage:

BLEND_ADJ(a, b)

Return value:

The new color
BLEND_AVG (a, b)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

Usage:

BLEND(a, b)

Return value:

The new color
BLEND_LINE (line_blend_mode, fb, n, color)
Blend a cell within a buffer with a color

Parameters

<li>
  line_blend_mode: Which mode to blend by
</li>

<li>
  fb: A table of color values
</li>

<li>
  n: The position within the table that'll be blended
</li>

<li>
  color: The color to blend
</li>

Usage:

BLEND_LINE(line_blend_mod, fb, n, color)

Return value:

Nothing
BLEND_MAX (a, b)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

Usage:

BLEND_MAX(a, b)

Return value:

The new color
BLEND_MIN (a, b)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

Usage:

BLEND_MIN(a, b)

Return value:

The new color
BLEND_MUL (a, b)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

Usage:

BLEND_MUL(a, b)

Return value:

The new color
BLEND_SUB (a, b)
Blend two colors

Parameters

<li>
  a: First color to blend
</li>

<li>
  b: Second color to blend
</li>

Usage:

BLEND_SUB(a, b)

Return value:

The new color

Valid XHTML 1.0!

Clone this wiki locally