Commit Graph

5815 Commits

Author SHA1 Message Date
Simon Schampijer
afcb2fcea9 Port get_preview method to cairo
Previously we were using a GdkPixmap [1] created with the get_snapshot [2]
method of the Gtk.Widget. GTK 3 encourages to use cairo surfaces
now instead.

The ported mothod does create a cairo surface similar to that of the canvas'
window and draws on that. Then we create a cairo image surface with
the desired preview size and scale the canvas surface on that.

Several people have been involved in this work: Gonzalo Odiard,
Manuel Quiñones and Benjamin Berg.

[1] http://developer.gnome.org/gdk/stable/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap
[2] http://developer.gnome.org/gtk/stable/GtkWidget.html#gtk-widget-get-snapshot
2012-03-14 17:37:23 +01:00
Pootle daemon
ca751fe004 Commit from Sugar Labs: Translation System by user HoboPrimate.: 35 of 35 messages translated (0 fuzzy). 2012-03-09 00:56:37 +02:00
Pootle daemon
32074379f6 Commit from Sugar Labs: Translation System by user cjl.: 21 of 35 messages translated (0 fuzzy). 2012-02-16 17:30:28 +02:00
Pootle daemon
346b05546b Commit from Sugar Labs: Translation System by user cjl.: 30 of 35 messages translated (0 fuzzy). 2012-02-16 17:29:59 +02:00
Pootle daemon
62a9f45feb Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-16 17:28:49 +02:00
Pootle daemon
99c2d5a682 Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-16 17:27:07 +02:00
Pootle daemon
047479d604 Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-16 17:25:21 +02:00
Pootle daemon
110512b75a Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 17:23:02 +02:00
Pootle daemon
6b333c362e Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-16 09:09:29 +02:00
Pootle daemon
54f8ae16d3 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-16 09:05:01 +02:00
Pootle daemon
8d0d735bd5 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-16 09:03:25 +02:00
Pootle daemon
1652405f36 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-16 08:53:31 +02:00
Pootle daemon
bd815576aa Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:44:45 +02:00
Pootle daemon
059a81f023 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:36:58 +02:00
Pootle daemon
6268bf3b9d Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:34:06 +02:00
Pootle daemon
f6e41d2e71 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:32:22 +02:00
Pootle daemon
65a76075c1 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 05:58:46 +02:00
Pootle daemon
86ca62832e Commit from Sugar Labs: Translation System by user aputsiaq.: 35 of 35 messages translated (0 fuzzy). 2012-02-12 23:21:10 +02:00
Pootle daemon
5b5461b633 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-11 07:54:40 +02:00
Pootle daemon
464c538dc7 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-11 07:49:35 +02:00
Pootle daemon
dd7ade58a3 Commit from Sugar Labs: Translation System by user cjl.: 30 of 35 messages translated (0 fuzzy). 2012-02-11 07:48:15 +02:00
Pootle daemon
40714ebbc4 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:45:18 +02:00
Pootle daemon
d654583f4b Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:43:09 +02:00
Pootle daemon
6ac7c475fc Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-11 07:40:10 +02:00
Pootle daemon
b8baf373fc Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:36:36 +02:00
Pootle daemon
2ef1aaa482 Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-11 07:33:53 +02:00
Pootle daemon
561ef84398 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:33:00 +02:00
Pootle daemon
9eff80ea62 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:31:30 +02:00
Pootle daemon
66fe734dc1 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:30:45 +02:00
Pootle daemon
60d0bda8ab Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:27:28 +02:00
Pootle daemon
101b65740f Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:25:26 +02:00
Pootle daemon
5ee0c57259 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:23:05 +02:00
Pootle daemon
c6e11ae31d Commit from Sugar Labs: Translation System by user cjl.: 29 of 35 messages translated (1 fuzzy). 2012-02-11 07:19:03 +02:00
Pootle daemon
1aa2363d25 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:15:19 +02:00
Pootle daemon
4001571297 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 06:57:57 +02:00
Pootle daemon
8b39b3f2a1 Commit from Sugar Labs: Translation System by user cjl.: 2 of 35 messages translated (0 fuzzy). 2012-02-11 06:56:19 +02:00
Pootle daemon
961567de14 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 06:54:49 +02:00
Pootle daemon
c79c3fd4a2 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 06:52:23 +02:00
Pootle daemon
58613b36df Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 06:49:39 +02:00
Pootle daemon
f1e0b25c97 Commit from Sugar Labs: Translation System by user cjl.: 28 of 35 messages translated (0 fuzzy). 2012-02-11 06:47:36 +02:00
Pootle daemon
732eb57dfd Commit from Sugar Labs: Translation System by user cjl.: 2 of 35 messages translated (0 fuzzy). 2012-02-11 06:45:12 +02:00
Pootle daemon
c5fd355cbe Commit from Sugar Labs: Translation System by user cjl.: 30 of 35 messages translated (0 fuzzy). 2012-02-11 06:43:48 +02:00
Pootle daemon
5a7e8e77d0 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 06:41:01 +02:00
Pootle daemon
1d1148648c Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-11 06:39:14 +02:00
Pootle daemon
1550f2f1ef Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 06:32:19 +02:00
Pootle daemon
de95c2eb3e Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 04:51:56 +02:00
Pootle daemon
99a3cc4bbe Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 04:50:35 +02:00
Pootle daemon
e2690e91de Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 04:47:15 +02:00
Pootle daemon
303f585b55 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 04:45:47 +02:00
Pootle daemon
5829419eec Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 04:44:05 +02:00