"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Pinta.Gui.Widgets/Widgets/Layers/LayersListWidget.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).

LayersListWidget.cs  (pinta-1.7):LayersListWidget.cs  (pinta-1.7.1)
skipping to change at line 216 skipping to change at line 216
if (!PintaCore.Workspace.HasOpenDocuments) if (!PintaCore.Workspace.HasOpenDocuments)
return; return;
var doc = PintaCore.Workspace.ActiveDocument; var doc = PintaCore.Workspace.ActiveDocument;
foreach (var layer in (doc.UserLayers as IEnumerable<Laye r>).Reverse ()) { foreach (var layer in (doc.UserLayers as IEnumerable<Laye r>).Reverse ()) {
var surf = layer.Surface; var surf = layer.Surface;
// Draw the selection layer on top of the active layer. // Draw the selection layer on top of the active layer.
if (layer == doc.CurrentUserLayer && doc.ShowSele ctionLayer) { if (layer == doc.CurrentUserLayer && doc.ShowSele ctionLayer) {
active_layer_surface = new Cairo.ImageSur face (Cairo.Format.Argb32, thumbnail_width, active_layer_surface = CairoExtensions.Cr eateImageSurface (Cairo.Format.Argb32, thumbnail_width,
thumbnail_height); thumbnail_height);
canvas_renderer.Initialize (doc.ImageSize , canvas_renderer.Initialize (doc.ImageSize ,
new Gdk.Size (thumbnail_width, thumbnail_height)); new Gdk.Size (thumbnail_width, thumbnail_height));
var layers = new List<Layer> { layer, doc .SelectionLayer }; var layers = new List<Layer> { layer, doc .SelectionLayer };
canvas_renderer.Render (layers, active_la yer_surface, Gdk.Point.Zero); canvas_renderer.Render (layers, active_la yer_surface, Gdk.Point.Zero);
surf = active_layer_surface; surf = active_layer_surface;
} }
 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)