Kevin Ryde > math-image-110 > App::MathImage::Gtk2::Ex::GdkColorBits

Download:
math-image-110.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 110   Source  

NAME ^

App::MathImage::Gtk2::Ex::GdkColorBits -- misc GdkColor helpers

SYNOPSIS ^

 use App::MathImage::Gtk2::Ex::GdkColorBits;

FUNCTIONS ^

$str = App::MathImage::Gtk2::Ex::GdkColorBits::to_HRRGGBB ($color)

Return a 2-digit hex string like "#FF00AA" for the given Gtk2::Gdk::Color, with the red, green and blue fields reduced to a range 00 to FF for that result.

See $color->to_string for the full 4-digit form (new in Gtk 2.12 and Perl-Gtk 1.160).

syntax highlighting: