"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Pinta.Gui.Widgets/Widgets/OpenImages/OpenImagesListWidget.cs" between
pinta-1.7.tar.gz and pinta-1.7.1.tar.gz

About: Pinta is a powerful image drawing and editing program (modeled after Paint.NET).

OpenImagesListWidget.cs  (pinta-1.7):OpenImagesListWidget.cs  (pinta-1.7.1)
skipping to change at line 200 skipping to change at line 200
store.AppendValues (CreateImagePreview (doc), doc .Filename, close_icon); store.AppendValues (CreateImagePreview (doc), doc .Filename, close_icon);
} }
} }
/// <summary> /// <summary>
/// Creates a thumbnail image preview of a document. /// Creates a thumbnail image preview of a document.
/// </summary> /// </summary>
private Cairo.ImageSurface CreateImagePreview (Document doc) private Cairo.ImageSurface CreateImagePreview (Document doc)
{ {
var surface = new Cairo.ImageSurface (Cairo.Format.Argb32 , PreviewWidth, PreviewHeight); var surface = CairoExtensions.CreateImageSurface (Cairo.F ormat.Argb32, PreviewWidth, PreviewHeight);
canvas_renderer.Initialize (doc.ImageSize, new Gdk.Size ( PreviewWidth, PreviewHeight)); canvas_renderer.Initialize (doc.ImageSize, new Gdk.Size ( PreviewWidth, PreviewHeight));
canvas_renderer.Render (doc.GetLayersToPaint (), surface, Gdk.Point.Zero); canvas_renderer.Render (doc.GetLayersToPaint (), surface, Gdk.Point.Zero);
return surface; return surface;
} }
/// <summary> /// <summary>
/// Rebuilds the list of documents after a document is opened or closed /// Rebuilds the list of documents after a document is opened or closed
/// </summary> /// </summary>
private void HandleDocumentOpenedOrClosed (object sender, Documen tEventArgs e) private void HandleDocumentOpenedOrClosed (object sender, Documen tEventArgs e)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)