OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 return; | 74 return; |
75 } | 75 } |
76 } | 76 } |
77 | 77 |
78 bool shouldPaintWithinRoot(const RenderObject* renderer) const | 78 bool shouldPaintWithinRoot(const RenderObject* renderer) const |
79 { | 79 { |
80 return !paintingRoot || paintingRoot == renderer; | 80 return !paintingRoot || paintingRoot == renderer; |
81 } | 81 } |
82 | 82 |
83 bool forceBlackText() const { return paintBehavior & PaintBehaviorForceBlack
Text; } | 83 bool forceBlackText() const { return paintBehavior & PaintBehaviorForceBlack
Text; } |
| 84 bool isRenderingClipPathAsMaskImage() const { return paintBehavior & PaintBe
haviorRenderingClipPathAsMask; } |
84 | 85 |
85 bool skipRootBackground() const { return paintBehavior & PaintBehaviorSkipRo
otBackground; } | 86 bool skipRootBackground() const { return paintBehavior & PaintBehaviorSkipRo
otBackground; } |
86 bool paintRootBackgroundOnly() const { return paintBehavior & PaintBehaviorR
ootBackgroundOnly; } | 87 bool paintRootBackgroundOnly() const { return paintBehavior & PaintBehaviorR
ootBackgroundOnly; } |
87 | 88 |
88 void applyTransform(const AffineTransform& localToAncestorTransform, | 89 void applyTransform(const AffineTransform& localToAncestorTransform, |
89 GraphicsContextStateSaver* stateSaver = 0) | 90 GraphicsContextStateSaver* stateSaver = 0) |
90 { | 91 { |
91 if (localToAncestorTransform.isIdentity()) | 92 if (localToAncestorTransform.isIdentity()) |
92 return; | 93 return; |
93 | 94 |
(...skipping 25 matching lines...) Expand all Loading... |
119 RenderObject* paintingRoot; // used to draw just one element and its visual
kids | 120 RenderObject* paintingRoot; // used to draw just one element and its visual
kids |
120 | 121 |
121 private: | 122 private: |
122 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting | 123 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting |
123 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children | 124 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children |
124 }; | 125 }; |
125 | 126 |
126 } // namespace blink | 127 } // namespace blink |
127 | 128 |
128 #endif // PaintInfo_h | 129 #endif // PaintInfo_h |
OLD | NEW |