| 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, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights 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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 RenderObject* clippingContainer() const; | 718 RenderObject* clippingContainer() const; |
| 719 | 719 |
| 720 bool canContainFixedPositionObjects() const | 720 bool canContainFixedPositionObjects() const |
| 721 { | 721 { |
| 722 return isRenderView() || (hasTransform() && isRenderBlock()) || isSVGFor
eignObject(); | 722 return isRenderView() || (hasTransform() && isRenderBlock()) || isSVGFor
eignObject(); |
| 723 } | 723 } |
| 724 | 724 |
| 725 // Convert the given local point to absolute coordinates | 725 // Convert the given local point to absolute coordinates |
| 726 // FIXME: Temporary. If UseTransforms is true, take transforms into account.
Eventually localToAbsolute() will always be transform-aware. | 726 // FIXME: Temporary. If UseTransforms is true, take transforms into account.
Eventually localToAbsolute() will always be transform-aware. |
| 727 FloatPoint localToAbsolute(const FloatPoint& localPoint = FloatPoint(), MapC
oordinatesFlags = 0) const; | 727 FloatPoint localToAbsolute(const FloatPoint& localPoint = FloatPoint(), MapC
oordinatesFlags = 0) const; |
| 728 FloatPoint localToAbsolute(const RenderLayerModelObject* repaintContainer, c
onst FloatPoint& localPoint = FloatPoint(), MapCoordinatesFlags = 0) const; |
| 728 FloatPoint absoluteToLocal(const FloatPoint&, MapCoordinatesFlags = 0) const
; | 729 FloatPoint absoluteToLocal(const FloatPoint&, MapCoordinatesFlags = 0) const
; |
| 729 | 730 |
| 730 // Convert a local quad to absolute coordinates, taking transforms into acco
unt. | 731 // Convert a local quad to absolute coordinates, taking transforms into acco
unt. |
| 731 FloatQuad localToAbsoluteQuad(const FloatQuad& quad, MapCoordinatesFlags mod
e = 0, bool* wasFixed = 0) const | 732 FloatQuad localToAbsoluteQuad(const FloatQuad& quad, MapCoordinatesFlags mod
e = 0, bool* wasFixed = 0) const |
| 732 { | 733 { |
| 733 return localToContainerQuad(quad, 0, mode, wasFixed); | 734 return localToContainerQuad(quad, 0, mode, wasFixed); |
| 734 } | 735 } |
| 735 // Convert an absolute quad to local coordinates. | 736 // Convert an absolute quad to local coordinates. |
| 736 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0
) const; | 737 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0
) const; |
| 737 | 738 |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1489 void showTree(const WebCore::RenderObject*); | 1490 void showTree(const WebCore::RenderObject*); |
| 1490 void showLineTree(const WebCore::RenderObject*); | 1491 void showLineTree(const WebCore::RenderObject*); |
| 1491 void showRenderTree(const WebCore::RenderObject* object1); | 1492 void showRenderTree(const WebCore::RenderObject* object1); |
| 1492 // We don't make object2 an optional parameter so that showRenderTree | 1493 // We don't make object2 an optional parameter so that showRenderTree |
| 1493 // can be called from gdb easily. | 1494 // can be called from gdb easily. |
| 1494 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1495 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1495 | 1496 |
| 1496 #endif | 1497 #endif |
| 1497 | 1498 |
| 1498 #endif // RenderObject_h | 1499 #endif // RenderObject_h |
| OLD | NEW |