OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2008-2009 Torch Mobile, Inc. |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 void strokeEllipse(const FloatRect&); | 235 void strokeEllipse(const FloatRect&); |
236 | 236 |
237 void fillRect(const FloatRect&); | 237 void fillRect(const FloatRect&); |
238 void fillRect(const FloatRect&, const Color&); | 238 void fillRect(const FloatRect&, const Color&); |
239 void fillRect(const FloatRect&, const Color&, CompositeOperator); | 239 void fillRect(const FloatRect&, const Color&, CompositeOperator); |
240 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize&
topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&); | 240 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize&
topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&); |
241 void fillRoundedRect(const RoundedRect&, const Color&); | 241 void fillRoundedRect(const RoundedRect&, const Color&); |
242 | 242 |
243 void clearRect(const FloatRect&); | 243 void clearRect(const FloatRect&); |
244 | 244 |
| 245 void strokeRect(const FloatRect&); |
245 void strokeRect(const FloatRect&, float lineWidth); | 246 void strokeRect(const FloatRect&, float lineWidth); |
246 | 247 |
247 void fillBetweenRoundedRects(const IntRect&, const IntSize& outerTopLeft, co
nst IntSize& outerTopRight, const IntSize& outerBottomLeft, const IntSize& outer
BottomRight, | 248 void fillBetweenRoundedRects(const IntRect&, const IntSize& outerTopLeft, co
nst IntSize& outerTopRight, const IntSize& outerBottomLeft, const IntSize& outer
BottomRight, |
248 const IntRect&, const IntSize& innerTopLeft, const IntSize& innerTopRigh
t, const IntSize& innerBottomLeft, const IntSize& innerBottomRight, const Color&
); | 249 const IntRect&, const IntSize& innerTopLeft, const IntSize& innerTopRigh
t, const IntSize& innerBottomLeft, const IntSize& innerBottomRight, const Color&
); |
249 void fillBetweenRoundedRects(const RoundedRect&, const RoundedRect&, const C
olor&); | 250 void fillBetweenRoundedRects(const RoundedRect&, const RoundedRect&, const C
olor&); |
250 | 251 |
251 void drawDisplayList(DisplayList*); | 252 void drawDisplayList(DisplayList*); |
252 | 253 |
253 void drawImage(Image*, const IntPoint&, CompositeOperator = CompositeSourceO
ver, RespectImageOrientationEnum = DoNotRespectImageOrientation); | 254 void drawImage(Image*, const IntPoint&, CompositeOperator = CompositeSourceO
ver, RespectImageOrientationEnum = DoNotRespectImageOrientation); |
254 void drawImage(Image*, const IntRect&, CompositeOperator = CompositeSourceOv
er, RespectImageOrientationEnum = DoNotRespectImageOrientation); | 255 void drawImage(Image*, const IntRect&, CompositeOperator = CompositeSourceOv
er, RespectImageOrientationEnum = DoNotRespectImageOrientation); |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 bool m_updatingControlTints : 1; | 509 bool m_updatingControlTints : 1; |
509 bool m_accelerated : 1; | 510 bool m_accelerated : 1; |
510 bool m_isCertainlyOpaque : 1; | 511 bool m_isCertainlyOpaque : 1; |
511 bool m_printing : 1; | 512 bool m_printing : 1; |
512 bool m_antialiasHairlineImages : 1; | 513 bool m_antialiasHairlineImages : 1; |
513 }; | 514 }; |
514 | 515 |
515 } // namespace WebCore | 516 } // namespace WebCore |
516 | 517 |
517 #endif // GraphicsContext_h | 518 #endif // GraphicsContext_h |
OLD | NEW |