]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkprintoperation-private.h
texthandles: Keep state internally to avoid X overhead
[~andy/gtk] / gtk / gtkprintoperation-private.h
index 8c800eaea5fb889a62105106bda4240dbf3fdce8..6a7b509978e6e0b55ad8cfa453c33de27a15ef44 100644 (file)
@@ -13,9 +13,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __GTK_PRINT_OPERATION_PRIVATE_H__
@@ -56,6 +54,7 @@ struct _GtkPrintOperationPrivate
   guint is_sync            : 1;
   guint support_selection  : 1;
   guint has_selection      : 1;
+  guint embed_page_setup   : 1;
 
   GtkPageDrawingState      page_drawing_state;
 
@@ -139,6 +138,12 @@ void             _gtk_print_context_set_page_setup                  (GtkPrintCon
                                                                     GtkPageSetup      *page_setup);
 void             _gtk_print_context_translate_into_margin           (GtkPrintContext   *context);
 void             _gtk_print_context_rotate_according_to_orientation (GtkPrintContext   *context);
+void             _gtk_print_context_reverse_according_to_orientation (GtkPrintContext *context);
+void             _gtk_print_context_set_hard_margins                (GtkPrintContext   *context,
+                                                                    gdouble            top,
+                                                                    gdouble            bottom,
+                                                                    gdouble            left,
+                                                                    gdouble            right);
 
 G_END_DECLS