Fixed the scrolling bug.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25446 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicolas Roard 2007-09-04 02:12:30 +00:00
parent f9a1879e18
commit c821c8e5c7
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,13 @@
2007-09-03 Nicolas Roard <nicolas@roard.com>
* configure:
* configure.ac: check that Xrender lib is present and add it to the
link process. Only use Xrender for Cairo.
* Source/cairo/XGCairoXImageSurface.m: use 32 bits surfaces when
available, else stay with 24bits surface.
* Source/cairo/CairoGState.m: some cleaning, and fixed the scrolling
bug.
2007-09-02 Nicolas Roard <nicolas@roard.com>
* configure:

View file

@ -1106,6 +1106,11 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
cairo_new_path(_ct);
_set_op(_ct, op);
if (viewIsFlipped && !copyOnSelf)
{
aPoint.y -= aRect.size.height;
}
{
NSRect newRect;