mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
2dfaa893c4
commit
270ec77734
@ -241,9 +241,10 @@ class PdfEngine(QPaintEngine):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def features(self):
|
def features(self):
|
||||||
|
# gradient_flags = self.MaskedBrush | self.PatternBrush | self.PatternTransform
|
||||||
return (self.Antialiasing | self.AlphaBlend | self.ConstantOpacity |
|
return (self.Antialiasing | self.AlphaBlend | self.ConstantOpacity |
|
||||||
self.PainterPaths | self.PaintOutsidePaintEvent |
|
self.PainterPaths | self.PaintOutsidePaintEvent |
|
||||||
self.PrimitiveTransform)
|
self.PrimitiveTransform) #| gradient_flags
|
||||||
|
|
||||||
def begin(self, device):
|
def begin(self, device):
|
||||||
if not hasattr(self, 'pdf'):
|
if not hasattr(self, 'pdf'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user