Bug #570
PiPics needs to center the scaled image on the display
Status: | Closed | Start date: | 24 Mar 2017 | |
---|---|---|---|---|
Priority: | Immediate | Due date: | ||
Assignee: | % 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 about 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Done.