From: Axel S. <A....@ke...> - 2007-07-16 10:33:27
|
Sun Jul 15 09:35:12 PDT 2007 A....@ke... * Add a new function to Pixbuf. Correct documentation. hunk ./gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs.pp 321 -pixbufNewFromFileAtScale :: String -> Int -> Int -> Bool -> IO Pixbuf +pixbufNewFromFileAtScale :: [_$_] + String -- ^ the name of the file + -> Int -- ^ target width + -> Int -- ^ target height + -> Bool -- ^ whether to preserve the aspect ratio + -> IO Pixbuf hunk ./gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs.pp 526 -pixbufScaleSimple :: Pixbuf -> Int -> Int -> InterpType -> IO Pixbuf +pixbufScaleSimple :: [_$_] + Pixbuf -- ^ @src@ - the source image + -> Int -- ^ @width@ - the target width + -> Int -- ^ @height@ the target height + -> InterpType -- ^ interpolation type + -> IO Pixbuf hunk ./gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs.pp 582 -pixbufComposite :: Pixbuf -> Pixbuf -> Int -> Int -> Int -> Int -> - Double -> Double -> Double -> Double -> InterpType -> - Word8 -> IO () +pixbufComposite :: + Pixbuf -- ^ @src@ - the source pixbuf + -> Pixbuf -- ^ @dest@ - the pixbuf into which to render the results + -> Int -- ^ @destX@ - the left coordinate for region to render + -> Int -- ^ @destY@ - the top coordinate for region to render [_$_] + -> Int -- ^ @destWidth@ - the width of the region to render + -> Int -- ^ @destHeight@ - the height of the region to render + -> Double -- ^ @offsetX@ - the offset in the X direction (currently + -- rounded to an integer) + -> Double -- ^ @offsetY@ - the offset in the Y direction [_$_] + -- (currently rounded to an integer) + -> Double -- ^ @scaleX@ - the scale factor in the X direction + -> Double -- ^ @scaleY@ - the scale factor in the Y direction + -> InterpType -- ^ the interpolation type for the transformation. + -> Word8 -- ^ @alpha@ - the transparency + -> IO () hunk ./gtk/Graphics/UI/Gtk/Gdk/PixbufData.hs.pp 48 --- * See 'pixbufGetPixels'. +-- * See 'Graphics.UI.Gtk.Gdk.Pixbuf.pixbufGetPixels'. |