| 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. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 // SVGGraphicsElement::getBBox(). | 670 // SVGGraphicsElement::getBBox(). |
| 671 // NOTE: Markers are not specifically ignored here by SVG 1.1 spec, but we | 671 // NOTE: Markers are not specifically ignored here by SVG 1.1 spec, but we |
| 672 // ignore them since stroke-width is ignored (and marker size can depend on | 672 // ignore them since stroke-width is ignored (and marker size can depend on |
| 673 // stroke-width). objectBoundingBox is returned local coordinates. | 673 // stroke-width). objectBoundingBox is returned local coordinates. |
| 674 // The name objectBoundingBox is taken from the SVG 1.1 spec. | 674 // The name objectBoundingBox is taken from the SVG 1.1 spec. |
| 675 virtual FloatRect objectBoundingBox() const; | 675 virtual FloatRect objectBoundingBox() const; |
| 676 virtual FloatRect strokeBoundingBox() const; | 676 virtual FloatRect strokeBoundingBox() const; |
| 677 | 677 |
| 678 // Returns the smallest rectangle enclosing all of the painted content | 678 // Returns the smallest rectangle enclosing all of the painted content |
| 679 // respecting clipping, masking, filters, opacity, stroke-width and markers. | 679 // respecting clipping, masking, filters, opacity, stroke-width and markers. |
| 680 // The local SVG coordinate space is the space where localSVGTransform | 680 // For most SVG objects, the local SVG coordinate space is the space where |
| 681 // applies. For SVG objects defining viewports (e.g. | 681 // localSVGTransform applies. For SVG objects defining viewports (e.g. |
| 682 // LayoutSVGViewportContainer and LayoutSVGResourceMarker), the local SVG | 682 // LayoutSVGForeignObject, LayoutSVGViewportContainer, |
| 683 // coordinate space is the viewport space. | 683 // LayoutSVGResourceMarker), the local SVG coordinate space is the viewport |
| 684 // space. |
| 684 virtual FloatRect visualRectInLocalSVGCoordinates() const; | 685 virtual FloatRect visualRectInLocalSVGCoordinates() const; |
| 685 | 686 |
| 686 // This returns the transform applying to the local SVG coordinate space, | 687 // This returns the transform applying to the local SVG coordinate space, |
| 687 // which combines the CSS transform properties and animation motion transform. | 688 // which combines the CSS transform properties and animation motion transform. |
| 688 // See SVGElement::calculateTransform(). | 689 // See SVGElement::calculateTransform(). |
| 689 // Most callsites want localToSVGParentTransform() instead. | 690 // Most callsites want localToSVGParentTransform() instead. |
| 690 virtual AffineTransform localSVGTransform() const; | 691 virtual AffineTransform localSVGTransform() const; |
| 691 | 692 |
| 692 // Returns the full transform mapping from local coordinates to parent's local | 693 // Returns the full transform mapping from local coordinates to parent's local |
| 693 // coordinates. For most SVG objects, this is the same as localSVGTransform. | 694 // coordinates. For most SVG objects, this is the same as localSVGTransform. |
| (...skipping 2017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2711 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2712 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2712 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2713 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2713 // We don't make object2 an optional parameter so that showLayoutTree | 2714 // We don't make object2 an optional parameter so that showLayoutTree |
| 2714 // can be called from gdb easily. | 2715 // can be called from gdb easily. |
| 2715 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2716 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2716 const blink::LayoutObject* object2); | 2717 const blink::LayoutObject* object2); |
| 2717 | 2718 |
| 2718 #endif | 2719 #endif |
| 2719 | 2720 |
| 2720 #endif // LayoutObject_h | 2721 #endif // LayoutObject_h |
| OLD | NEW |