[dia] pdf-import: fix gradient emulation
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] pdf-import: fix gradient emulation
- Date: Sun, 18 Nov 2012 12:36:17 +0000 (UTC)
commit 5ab8c2861c6a8336afe52d73d01ebc8e565b2000
Author: Hans Breuer <hans breuer org>
Date: Sun Nov 18 13:13:15 2012 +0100
pdf-import: fix gradient emulation
gradients are just emulated - but not if returning true
from useFillColorStop()
plug-ins/pdf/pdf-import.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/pdf/pdf-import.cpp b/plug-ins/pdf/pdf-import.cpp
index 22ea87f..4499ff4 100644
--- a/plug-ins/pdf/pdf-import.cpp
+++ b/plug-ins/pdf/pdf-import.cpp
@@ -185,8 +185,8 @@ public :
{
this->fill_color.alpha = state->getFillOpacity();
}
- //! gradients are just emulated
- GBool useFillColorStop() { return gTrue; }
+ //! gradients are just emulated - but not if returning true here
+ GBool useFillColorStop() { return gFalse; }
void updateFillColorStop(GfxState * state, double /*offset*/)
{
GfxRGB color;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]