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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 { | 774 { |
775 return localToContainerQuad(quad, 0, mode, wasFixed); | 775 return localToContainerQuad(quad, 0, mode, wasFixed); |
776 } | 776 } |
777 // Convert an absolute quad to local coordinates. | 777 // Convert an absolute quad to local coordinates. |
778 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0
) const; | 778 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0
) const; |
779 | 779 |
780 // Convert a local quad into the coordinate system of container, taking tran
sforms into account. | 780 // Convert a local quad into the coordinate system of container, taking tran
sforms into account. |
781 FloatQuad localToContainerQuad(const FloatQuad&, const RenderLayerModelObjec
t* paintInvalidatinoContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0) cons
t; | 781 FloatQuad localToContainerQuad(const FloatQuad&, const RenderLayerModelObjec
t* paintInvalidatinoContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0) cons
t; |
782 FloatPoint localToContainerPoint(const FloatPoint&, const RenderLayerModelOb
ject* paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0, c
onst PaintInvalidationState* = 0) const; | 782 FloatPoint localToContainerPoint(const FloatPoint&, const RenderLayerModelOb
ject* paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0, c
onst PaintInvalidationState* = 0) const; |
783 | 783 |
| 784 // Convert a local point into the coordinate system of backing coordinates.
Also returns the backing layer if needed. |
| 785 FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, RenderLayer**
backingLayer = nullptr); |
| 786 |
784 // Return the offset from the container() renderer (excluding transforms). I
n multi-column layout, | 787 // Return the offset from the container() renderer (excluding transforms). I
n multi-column layout, |
785 // different offsets apply at different points, so return the offset that ap
plies to the given point. | 788 // different offsets apply at different points, so return the offset that ap
plies to the given point. |
786 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = 0) const; | 789 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = 0) const; |
787 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. | 790 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. |
788 LayoutSize offsetFromAncestorContainer(const RenderObject*) const; | 791 LayoutSize offsetFromAncestorContainer(const RenderObject*) const; |
789 | 792 |
790 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } | 793 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } |
791 | 794 |
792 // Computes the position of the given render object in the space of |paintIn
validationContainer|. | 795 // Computes the position of the given render object in the space of |paintIn
validationContainer|. |
793 LayoutPoint positionFromPaintInvalidationContainer(const RenderLayerModelObj
ect* paintInvalidationContainer, const PaintInvalidationState* = 0) const; | 796 LayoutPoint positionFromPaintInvalidationContainer(const RenderLayerModelObj
ect* paintInvalidationContainer, const PaintInvalidationState* = 0) const; |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 void showTree(const blink::RenderObject*); | 1575 void showTree(const blink::RenderObject*); |
1573 void showLineTree(const blink::RenderObject*); | 1576 void showLineTree(const blink::RenderObject*); |
1574 void showRenderTree(const blink::RenderObject* object1); | 1577 void showRenderTree(const blink::RenderObject* object1); |
1575 // We don't make object2 an optional parameter so that showRenderTree | 1578 // We don't make object2 an optional parameter so that showRenderTree |
1576 // can be called from gdb easily. | 1579 // can be called from gdb easily. |
1577 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1580 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1578 | 1581 |
1579 #endif | 1582 #endif |
1580 | 1583 |
1581 #endif // RenderObject_h | 1584 #endif // RenderObject_h |
OLD | NEW |