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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 // SVGGraphicsElement::getBBox(). | 662 // SVGGraphicsElement::getBBox(). |
663 // NOTE: Markers are not specifically ignored here by SVG 1.1 spec, but we | 663 // NOTE: Markers are not specifically ignored here by SVG 1.1 spec, but we |
664 // ignore them since stroke-width is ignored (and marker size can depend on | 664 // ignore them since stroke-width is ignored (and marker size can depend on |
665 // stroke-width). objectBoundingBox is returned local coordinates. | 665 // stroke-width). objectBoundingBox is returned local coordinates. |
666 // The name objectBoundingBox is taken from the SVG 1.1 spec. | 666 // The name objectBoundingBox is taken from the SVG 1.1 spec. |
667 virtual FloatRect objectBoundingBox() const; | 667 virtual FloatRect objectBoundingBox() const; |
668 virtual FloatRect strokeBoundingBox() const; | 668 virtual FloatRect strokeBoundingBox() const; |
669 | 669 |
670 // Returns the smallest rectangle enclosing all of the painted content | 670 // Returns the smallest rectangle enclosing all of the painted content |
671 // respecting clipping, masking, filters, opacity, stroke-width and markers. | 671 // respecting clipping, masking, filters, opacity, stroke-width and markers. |
672 // For most SVG objects, the local SVG coordinate space is the space where | 672 // The local SVG coordinate space is the space where localSVGTransform |
673 // localSVGTransform applies. For SVG objects defining viewports (e.g. | 673 // applies. For SVG objects defining viewports (e.g. |
674 // LayoutSVGForeignObject, LayoutSVGViewportContainer, | 674 // LayoutSVGViewportContainer and LayoutSVGResourceMarker), the local SVG |
675 // LayoutSVGResourceMarker), the local SVG coordinate space is the viewport | 675 // coordinate space is the viewport space. |
676 // space. | |
677 virtual FloatRect visualRectInLocalSVGCoordinates() const; | 676 virtual FloatRect visualRectInLocalSVGCoordinates() const; |
678 | 677 |
679 // This returns the transform applying to the local SVG coordinate space, | 678 // This returns the transform applying to the local SVG coordinate space, |
680 // which combines the CSS transform properties and animation motion transform. | 679 // which combines the CSS transform properties and animation motion transform. |
681 // See SVGElement::calculateTransform(). | 680 // See SVGElement::calculateTransform(). |
682 // Most callsites want localToSVGParentTransform() instead. | 681 // Most callsites want localToSVGParentTransform() instead. |
683 virtual AffineTransform localSVGTransform() const; | 682 virtual AffineTransform localSVGTransform() const; |
684 | 683 |
685 // Returns the full transform mapping from local coordinates to parent's local | 684 // Returns the full transform mapping from local coordinates to parent's local |
686 // coordinates. For most SVG objects, this is the same as localSVGTransform. | 685 // coordinates. For most SVG objects, this is the same as localSVGTransform. |
(...skipping 1970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2657 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2658 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2659 // We don't make object2 an optional parameter so that showLayoutTree | 2658 // We don't make object2 an optional parameter so that showLayoutTree |
2660 // can be called from gdb easily. | 2659 // can be called from gdb easily. |
2661 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2662 const blink::LayoutObject* object2); | 2661 const blink::LayoutObject* object2); |
2663 | 2662 |
2664 #endif | 2663 #endif |
2665 | 2664 |
2666 #endif // LayoutObject_h | 2665 #endif // LayoutObject_h |
OLD | NEW |