Bug #570

PiPics needs to center the scaled image on the display

Added by Hammel over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:24 Mar 2017
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:04 - Applications
Target version:0.12.0
Severity:01 - Critical

Description

When the pixbuf is set as the source for Cairo, the offsets are zero:

gdk_cairo_set_source_pixbuf(cr, newimage, 0, 0);

These need to be calculated so the image is centered on the display.

History

#1 Updated by Hammel over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Done.

Also available in: Atom PDF