mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
* Source/cairo/CairoGState.m (-compositeGState:...fraction:):
Disable workaround for cairo > 1.8 for cairo > 1.13. Patch by Edwin Ancaer <eancaer@gmail.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38135 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
542398939a
commit
388977210b
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-10-25 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m (-compositeGState:...fraction:):
|
||||
Disable workaround for cairo > 1.8 for cairo > 1.13.
|
||||
Patch by Edwin Ancaer <eancaer@gmail.com>
|
||||
|
||||
2014-05-24 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* configure.ac: Fix wrong assumption about Xft's .pc file that
|
||||
|
|
|
@ -1309,9 +1309,10 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
|
|||
ssize = [source->_surface size];
|
||||
}
|
||||
|
||||
if (cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0))
|
||||
if ((cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0)) &&
|
||||
(cairo_version() <= CAIRO_VERSION_ENCODE(1, 13, 0)))
|
||||
{
|
||||
// For cairo > 1.8 we seem to need this adjustment
|
||||
// For cairo > 1.8 and < 1.13 we seem to need this adjustment
|
||||
srcRectInBase.origin.y -= 2 * (source->offset.y - ssize.height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue