[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/Attic/macterm.c, v [EMACS_22_BASE]
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/Attic/macterm.c, v [EMACS_22_BASE] |
Date: |
Sat, 30 Aug 2008 08:38:15 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: YAMAMOTO Mitsuharu <mituharu> 08/08/30 08:38:15
Index: macterm.c
===================================================================
RCS file: /sources/emacs/emacs/src/Attic/macterm.c,v
retrieving revision 1.214.2.29
retrieving revision 1.214.2.30
diff -u -b -r1.214.2.29 -r1.214.2.30
--- macterm.c 30 Aug 2008 08:07:48 -0000 1.214.2.29
+++ macterm.c 30 Aug 2008 08:38:14 -0000 1.214.2.30
@@ -1023,9 +1023,9 @@
GetPort (&port);
QDBeginCGContext (port, &context);
+ CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f));
if (gc->n_clip_rects || bg_width)
{
- CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f));
CGContextScaleCTM (context, 1, -1);
if (gc->n_clip_rects)
CGContextClipToRects (context, gc->clip_rects,
@@ -1410,9 +1410,9 @@
context = mac_begin_cg_clip (f, gc);
#else
QDBeginCGContext (GetWindowPort (FRAME_MAC_WINDOW (f)), &context);
+ CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f));
if (gc->n_clip_rects || bg_width)
{
- CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f));
CGContextScaleCTM (context, 1, -1);
if (gc->n_clip_rects)
CGContextClipToRects (context, gc->clip_rects, gc->n_clip_rects);