| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 paintingRoot = 0; | 69 paintingRoot = 0; |
| 70 return; | 70 return; |
| 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; } | |
| 80 | |
| 81 void applyTransform(const AffineTransform& localToAncestorTransform, bool id
entityStatusUnknown = true) | 79 void applyTransform(const AffineTransform& localToAncestorTransform, bool id
entityStatusUnknown = true) |
| 82 { | 80 { |
| 83 if (identityStatusUnknown && localToAncestorTransform.isIdentity()) | 81 if (identityStatusUnknown && localToAncestorTransform.isIdentity()) |
| 84 return; | 82 return; |
| 85 | 83 |
| 86 context->concatCTM(localToAncestorTransform); | 84 context->concatCTM(localToAncestorTransform); |
| 87 | 85 |
| 88 if (rect == infiniteRect()) | 86 if (rect == infiniteRect()) |
| 89 return; | 87 return; |
| 90 | 88 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 108 RenderObject* paintingRoot; // used to draw just one element and its visual
kids | 106 RenderObject* paintingRoot; // used to draw just one element and its visual
kids |
| 109 | 107 |
| 110 private: | 108 private: |
| 111 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting | 109 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting |
| 112 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children | 110 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children |
| 113 }; | 111 }; |
| 114 | 112 |
| 115 } // namespace blink | 113 } // namespace blink |
| 116 | 114 |
| 117 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_ | 115 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_ |
| OLD | NEW |