GdkFunction

Determines how the bit values for the source pixels are combined with the bit values for destination pixels to produce the final result. The sixteen values here correspond to the 16 different possible 2x2 truth tables. Only a couple of these values are usually useful; for colored images, only GDK_COPY, GDK_XOR and GDK_INVERT are generally useful. For bitmaps, GDK_AND and GDK_OR are also useful.

Value

Symbolic name

Description

  0Gdk::COPY
  1Gdk::INVERT
  2Gdk::XOR
  3Gdk::CLEAR
  4Gdk::AND
  5Gdk::AND_REVERSE
  6Gdk::AND_INVERT
  7Gdk::NOOP
  8Gdk::OR
  9Gdk::EQUIV
  10Gdk::OR_REVERSE
  11Gdk::COPY_INVERT
  12Gdk::OR_INVERT
  13Gdk::NAND
  14Gdk::NOR
  15Gdk::SET