"DTD/xhtml1-strict.dtd">
Class Imlib2::Filter
In: ./imlib2.c
Methods
alpha    blue    constants    divisors    green    initialize    new    red    set    set_alpha    set_blue    set_green    set_red   
Public Class methods
new(VALUE initsize, VALUE klass)

Return a new Imlib2::Filter

Example:

  filter = Imlib2::Filter.new
Public Instance methods
initialize(VALUE self, VALUE initsize)

Constructor for Imlib2::Filter

Currently just a placeholder.

set(int argc, VALUE *argv, VALUE self)

Set the filter color value and x, y

Example:

  filter.set x, y, Imlib2::Color::RED
red(...)
set_red(...)
green(int argc, VALUE *argv, VALUE self)

Set the green filter color value and x, y

Example:

  filter.set_green x, y, Imlib2::Color::RgbaColor.new 0, 128, 0, 128
set_green(int argc, VALUE *argv, VALUE self)

Set the green filter color value and x, y

Example:

  filter.set_green x, y, Imlib2::Color::RgbaColor.new 0, 128, 0, 128
blue(int argc, VALUE *argv, VALUE self)

Set the blue filter color value and x, y

Example:

  filter.set_blue x, y, Imlib2::Color::RgbaColor.new 0, 0, 64, 128
set_blue(int argc, VALUE *argv, VALUE self)

Set the blue filter color value and x, y

Example:

  filter.set_blue x, y, Imlib2::Color::RgbaColor.new 0, 0, 64, 128
alpha(int argc, VALUE *argv, VALUE self)

Set the alpha filter color value and x, y

Example:

  filter.set_alpha x, y, Imlib2::Color::RgbaColor.new 0, 0, 0, 128
set_alpha(int argc, VALUE *argv, VALUE self)

Set the alpha filter color value and x, y

Example:

  filter.set_alpha x, y, Imlib2::Color::RgbaColor.new 0, 0, 0, 128
constants(VALUE self, VALUE color)

Set filter constants.

Example:

  filter.set_constants RgbaColor.new 32, 32, 32, 32
divisors(VALUE self, VALUE color)

Set filter divisors.

Example:

  filter.set_divisors RgbaColor.new 0, 32, 0, 32