| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 bool shouldPaintWithinRoot(const RenderObject* renderer) const | 74 bool shouldPaintWithinRoot(const RenderObject* renderer) const |
| 75 { | 75 { |
| 76 return !paintingRoot || paintingRoot == renderer; | 76 return !paintingRoot || paintingRoot == renderer; |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool forceBlackText() const { return paintBehavior & PaintBehaviorForceBlack
Text; } | 79 bool forceBlackText() const { return paintBehavior & PaintBehaviorForceBlack
Text; } |
| 80 | 80 |
| 81 bool skipRootBackground() const { return paintBehavior & PaintBehaviorSkipRo
otBackground; } | |
| 82 bool paintRootBackgroundOnly() const { return paintBehavior & PaintBehaviorR
ootBackgroundOnly; } | |
| 83 | |
| 84 void applyTransform(const AffineTransform& localToAncestorTransform, bool id
entityStatusUnknown = true) | 81 void applyTransform(const AffineTransform& localToAncestorTransform, bool id
entityStatusUnknown = true) |
| 85 { | 82 { |
| 86 if (identityStatusUnknown && localToAncestorTransform.isIdentity()) | 83 if (identityStatusUnknown && localToAncestorTransform.isIdentity()) |
| 87 return; | 84 return; |
| 88 | 85 |
| 89 context->concatCTM(localToAncestorTransform); | 86 context->concatCTM(localToAncestorTransform); |
| 90 | 87 |
| 91 if (rect == infiniteRect()) | 88 if (rect == infiniteRect()) |
| 92 return; | 89 return; |
| 93 | 90 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 111 RenderObject* paintingRoot; // used to draw just one element and its visual
kids | 108 RenderObject* paintingRoot; // used to draw just one element and its visual
kids |
| 112 | 109 |
| 113 private: | 110 private: |
| 114 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting | 111 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting |
| 115 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children | 112 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children |
| 116 }; | 113 }; |
| 117 | 114 |
| 118 } // namespace blink | 115 } // namespace blink |
| 119 | 116 |
| 120 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_ | 117 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_ |
| OLD | NEW |