OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. |
5 * Copyright (C) 2010 Google Inc. All rights reserved. | 5 * Copyright (C) 2010 Google Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 252 |
253 LayoutPoint adjustedPositionRelativeToOffsetParent(const LayoutPoint&) const
; | 253 LayoutPoint adjustedPositionRelativeToOffsetParent(const LayoutPoint&) const
; |
254 | 254 |
255 void calculateBackgroundImageGeometry(const FillLayer*, const LayoutRect& pa
intRect, BackgroundImageGeometry&, RenderObject* = 0); | 255 void calculateBackgroundImageGeometry(const FillLayer*, const LayoutRect& pa
intRect, BackgroundImageGeometry&, RenderObject* = 0); |
256 void getBorderEdgeInfo(class BorderEdge[], const RenderStyle*, bool includeL
ogicalLeftEdge = true, bool includeLogicalRightEdge = true) const; | 256 void getBorderEdgeInfo(class BorderEdge[], const RenderStyle*, bool includeL
ogicalLeftEdge = true, bool includeLogicalRightEdge = true) const; |
257 bool borderObscuresBackgroundEdge(const FloatSize& contextScale) const; | 257 bool borderObscuresBackgroundEdge(const FloatSize& contextScale) const; |
258 bool borderObscuresBackground() const; | 258 bool borderObscuresBackground() const; |
259 RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*,
const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&,
bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; | 259 RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*,
const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&,
bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; |
260 LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const
LayoutRect&, BackgroundBleedAvoidance) const; | 260 LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const
LayoutRect&, BackgroundBleedAvoidance) const; |
261 | 261 |
262 bool shouldPaintAtLowQuality(GraphicsContext*, Image*, const void*, const La
youtSize&); | 262 InterpolationQuality chooseInterpolationQuality(GraphicsContext*, Image*, co
nst void*, const LayoutSize&); |
263 | 263 |
264 RenderBoxModelObject* continuation() const; | 264 RenderBoxModelObject* continuation() const; |
265 void setContinuation(RenderBoxModelObject*); | 265 void setContinuation(RenderBoxModelObject*); |
266 | 266 |
267 LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIn
dentOffset); | 267 LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIn
dentOffset); |
268 | 268 |
269 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const
RoundedRect& clipRect); | 269 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const
RoundedRect& clipRect); |
270 | 270 |
271 bool hasAutoHeightOrContainingBlockWithAutoHeight() const; | 271 bool hasAutoHeightOrContainingBlockWithAutoHeight() const; |
272 | 272 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c
onst class BorderEdge[], | 331 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c
onst class BorderEdge[], |
332 float thickness, float drawThickness, BoxSide, const
RenderStyle*, | 332 float thickness, float drawThickness, BoxSide, const
RenderStyle*, |
333 Color, EBorderStyle, BackgroundBleedAvoidance, bool
includeLogicalLeftEdge, bool includeLogicalRightEdge); | 333 Color, EBorderStyle, BackgroundBleedAvoidance, bool
includeLogicalLeftEdge, bool includeLogicalRightEdge); |
334 }; | 334 }; |
335 | 335 |
336 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); | 336 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); |
337 | 337 |
338 } // namespace WebCore | 338 } // namespace WebCore |
339 | 339 |
340 #endif // RenderBoxModelObject_h | 340 #endif // RenderBoxModelObject_h |
OLD | NEW |