Project

General

Profile

Actions

Bug #570

closed

PiPics needs to center the scaled image on the display

Added by Hammel about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Applications
Target version:
Start date:
24 Mar 2017
Due date:
% Done:

100%

Estimated time:
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.

Actions

Also available in: Atom PDF