libcrn
3.9.5
A document image processing library
|
Functions | |
Glib::RefPtr< Gdk::Pixbuf > | GdkCRN::PixbufFromCRNImage (const crn::ImageBase &img) |
Creates a Gdk::Pixbuf from a crn::Image. More... | |
Glib::RefPtr< Gdk::Pixbuf > | GdkCRN::PixbufFromFile (const crn::Path &p) |
Creates a Gdk::Pixbuf from a file. More... | |
crn::ImageRGB | GdkCRN::CRNImageFromPixbuf (const Glib::RefPtr< Gdk::Pixbuf > &pb) |
Creates a crn::Image from a Gdk::Pixbuf. More... | |
Gdk::Color | GdkCRN::ColorFromCRNPixel (const crn::pixel::RGB8 &p) |
Creates a Gdk::Color from a crn::Pixel. More... | |
crn::pixel::RGB8 | GdkCRN::CRNPixelRGBFromGdkColor (const Gdk::Color &color) |
Creates a crn::PixelRGB from a Gdk::Color. More... | |
Gdk::Color GdkCRN::ColorFromCRNPixel | ( | const crn::pixel::RGB8 & | p | ) |
Creates a Gdk::Color from a crn::Pixel.
Creates a Gdk::Color from a crn::pixel::RGB8
[in] | p | the pixel to convert |
Definition at line 205 of file GdkCRNPixbuf.cpp.
ImageRGB GdkCRN::CRNImageFromPixbuf | ( | const Glib::RefPtr< Gdk::Pixbuf > & | pb | ) |
Creates a crn::Image from a Gdk::Pixbuf.
Creates a crn::Image from a Gdk::Pixbuf
crn::ExceptionInvalidArgument | null image |
[in] | pb | the pixbuf to convert |
Definition at line 147 of file GdkCRNPixbuf.cpp.
crn::pixel::RGB8 GdkCRN::CRNPixelRGBFromGdkColor | ( | const Gdk::Color & | color | ) |
Creates a crn::PixelRGB from a Gdk::Color.
Creates a crn::pixel::RGB8 from a Gdk::Color
[in] | color | the color to convert |
Definition at line 218 of file GdkCRNPixbuf.cpp.
Glib::RefPtr< Gdk::Pixbuf > GdkCRN::PixbufFromCRNImage | ( | const crn::ImageBase & | img | ) |
Creates a Gdk::Pixbuf from a crn::Image.
Creates a Gdk::Pixbuf from a crn::Image
crn::ExceptionInvalidArgument | unsupported pixel format |
[in] | img | the image to convert |
Definition at line 100 of file GdkCRNPixbuf.cpp.
Glib::RefPtr< Gdk::Pixbuf > GdkCRN::PixbufFromFile | ( | const crn::Path & | p | ) |
Creates a Gdk::Pixbuf from a file.
Creates a Gdk::Pixbuf from a file
[in] | p | the path to the image |
Definition at line 125 of file GdkCRNPixbuf.cpp.