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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
273 void concatCTM(const AffineTransform&); | 273 void concatCTM(const AffineTransform&); |
274 void setCTM(const AffineTransform&); | 274 void setCTM(const AffineTransform&); |
275 void setMatrix(const SkMatrix&); | 275 void setMatrix(const SkMatrix&); |
276 | 276 |
277 void scale(float x, float y); | 277 void scale(float x, float y); |
278 void rotate(float angleInRadians); | 278 void rotate(float angleInRadians); |
279 void translate(float x, float y); | 279 void translate(float x, float y); |
280 // ---------- End transformation methods ----------------- | 280 // ---------- End transformation methods ----------------- |
281 | 281 |
282 SkFilterQuality computeFilterQuality(Image*, const FloatRect& dest, const Fl oatRect& src) const; | 282 SkFilterQuality computeFilterQuality(Image*, const FloatRect& dest, const Fl oatRect& src) const; |
283 bool shouldAntialiasImages() { return shouldAntialias() && !getTotalMatrix() .rectStaysRect();} | 283 bool shouldAntialiasImages() { return shouldAntialias(); } |
f(malita)
2015/06/15 16:17:48
We might as well drop shouldAntialiasImages() at t
| |
284 | 284 |
285 // URL drawing | 285 // URL drawing |
286 void setURLForRect(const KURL&, const IntRect&); | 286 void setURLForRect(const KURL&, const IntRect&); |
287 void setURLFragmentForRect(const String& name, const IntRect&); | 287 void setURLFragmentForRect(const String& name, const IntRect&); |
288 void addURLTargetAtPoint(const String& name, const IntPoint&); | 288 void addURLTargetAtPoint(const String& name, const IntPoint&); |
289 | 289 |
290 static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, floa t strokeWidth, StrokeStyle); | 290 static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, floa t strokeWidth, StrokeStyle); |
291 | 291 |
292 static int focusRingOutsetExtent(int offset, int width) | 292 static int focusRingOutsetExtent(int offset, int width) |
293 { | 293 { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
405 | 405 |
406 float m_deviceScaleFactor; | 406 float m_deviceScaleFactor; |
407 | 407 |
408 unsigned m_printing : 1; | 408 unsigned m_printing : 1; |
409 unsigned m_hasMetaData : 1; | 409 unsigned m_hasMetaData : 1; |
410 }; | 410 }; |
411 | 411 |
412 } // namespace blink | 412 } // namespace blink |
413 | 413 |
414 #endif // GraphicsContext_h | 414 #endif // GraphicsContext_h |
OLD | NEW |