| 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 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 // Convert an absolute quad to local coordinates. | 757 // Convert an absolute quad to local coordinates. |
| 758 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0
) const; | 758 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0
) const; |
| 759 | 759 |
| 760 // Convert a local quad into the coordinate system of container, taking tran
sforms into account. | 760 // Convert a local quad into the coordinate system of container, taking tran
sforms into account. |
| 761 FloatQuad localToContainerQuad(const FloatQuad&, const LayoutBoxModelObject*
paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = nullptr)
const; | 761 FloatQuad localToContainerQuad(const FloatQuad&, const LayoutBoxModelObject*
paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = nullptr)
const; |
| 762 FloatPoint localToContainerPoint(const FloatPoint&, const LayoutBoxModelObje
ct* paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = nullpt
r, const PaintInvalidationState* = nullptr) const; | 762 FloatPoint localToContainerPoint(const FloatPoint&, const LayoutBoxModelObje
ct* paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = nullpt
r, const PaintInvalidationState* = nullptr) const; |
| 763 | 763 |
| 764 // Convert a local point into the coordinate system of backing coordinates.
Also returns the backing layer if needed. | 764 // Convert a local point into the coordinate system of backing coordinates.
Also returns the backing layer if needed. |
| 765 FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, DeprecatedPai
ntLayer** backingLayer = nullptr); | 765 FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, DeprecatedPai
ntLayer** backingLayer = nullptr); |
| 766 | 766 |
| 767 // Return the offset from the container() layoutObject (excluding transforms
). In multi-column layout, | 767 // Return the offset from the container() layoutObject (excluding transforms
and multicol). |
| 768 // different offsets apply at different points, so return the offset that ap
plies to the given point. | 768 virtual LayoutSize offsetFromContainer(const LayoutObject*) const; |
| 769 virtual LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = nullptr) const; | |
| 770 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. | 769 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. |
| 771 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; | 770 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; |
| 772 | 771 |
| 773 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } | 772 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } |
| 774 | 773 |
| 775 FloatRect absoluteBoundingBoxFloatRect() const; | 774 FloatRect absoluteBoundingBoxFloatRect() const; |
| 776 // This returns an IntRect enclosing this object. If this object has an | 775 // This returns an IntRect enclosing this object. If this object has an |
| 777 // integral size and the position has fractional values, the resultant | 776 // integral size and the position has fractional values, the resultant |
| 778 // IntRect can be larger than the integral size. | 777 // IntRect can be larger than the integral size. |
| 779 IntRect absoluteBoundingBoxRect() const; | 778 IntRect absoluteBoundingBoxRect() const; |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 void showTree(const blink::LayoutObject*); | 1657 void showTree(const blink::LayoutObject*); |
| 1659 void showLineTree(const blink::LayoutObject*); | 1658 void showLineTree(const blink::LayoutObject*); |
| 1660 void showLayoutTree(const blink::LayoutObject* object1); | 1659 void showLayoutTree(const blink::LayoutObject* object1); |
| 1661 // We don't make object2 an optional parameter so that showLayoutTree | 1660 // We don't make object2 an optional parameter so that showLayoutTree |
| 1662 // can be called from gdb easily. | 1661 // can be called from gdb easily. |
| 1663 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1662 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1664 | 1663 |
| 1665 #endif | 1664 #endif |
| 1666 | 1665 |
| 1667 #endif // LayoutObject_h | 1666 #endif // LayoutObject_h |
| OLD | NEW |