Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: Source/platform/graphics/GraphicsContext.h

Issue 799103002: Fix display list canvas not rendering correctly on high dpi displays (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: corrections Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 void clearRect(const FloatRect&); 252 void clearRect(const FloatRect&);
253 253
254 void strokeRect(const FloatRect&); 254 void strokeRect(const FloatRect&);
255 void strokeRect(const FloatRect&, float lineWidth); 255 void strokeRect(const FloatRect&, float lineWidth);
256 256
257 void fillBetweenRoundedRects(const IntRect&, const IntSize& outerTopLeft, co nst IntSize& outerTopRight, const IntSize& outerBottomLeft, const IntSize& outer BottomRight, 257 void fillBetweenRoundedRects(const IntRect&, const IntSize& outerTopLeft, co nst IntSize& outerTopRight, const IntSize& outerBottomLeft, const IntSize& outer BottomRight,
258 const IntRect&, const IntSize& innerTopLeft, const IntSize& innerTopRigh t, const IntSize& innerBottomLeft, const IntSize& innerBottomRight, const Color& ); 258 const IntRect&, const IntSize& innerTopLeft, const IntSize& innerTopRigh t, const IntSize& innerBottomLeft, const IntSize& innerBottomRight, const Color& );
259 void fillBetweenRoundedRects(const RoundedRect&, const RoundedRect&, const C olor&); 259 void fillBetweenRoundedRects(const RoundedRect&, const RoundedRect&, const C olor&);
260 260
261 void drawPicture(const SkPicture*); 261 void drawPicture(const SkPicture*);
262 void drawPicture(SkPicture*, const FloatRect& dest, const FloatRect& src, Co mpositeOperator, WebBlendMode); 262 void compositePicture(SkPicture*, const FloatRect& dest, const FloatRect& sr c, CompositeOperator, WebBlendMode);
263 263
264 void drawImage(Image*, const IntPoint&, CompositeOperator = CompositeSourceO ver, RespectImageOrientationEnum = DoNotRespectImageOrientation); 264 void drawImage(Image*, const IntPoint&, CompositeOperator = CompositeSourceO ver, RespectImageOrientationEnum = DoNotRespectImageOrientation);
265 void drawImage(Image*, const IntRect&, CompositeOperator = CompositeSourceOv er, RespectImageOrientationEnum = DoNotRespectImageOrientation); 265 void drawImage(Image*, const IntRect&, CompositeOperator = CompositeSourceOv er, RespectImageOrientationEnum = DoNotRespectImageOrientation);
266 void drawImage(Image*, const FloatRect& destRect); 266 void drawImage(Image*, const FloatRect& destRect);
267 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator = CompositeSourceOver, RespectImageOrientationEnum = DoNotResp ectImageOrientation); 267 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator = CompositeSourceOver, RespectImageOrientationEnum = DoNotResp ectImageOrientation);
268 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator, WebBlendMode, RespectImageOrientationEnum = DoNotRespectImage Orientation); 268 void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator, WebBlendMode, RespectImageOrientationEnum = DoNotRespectImage Orientation);
269 269
270 void drawTiledImage(Image*, const IntRect& destRect, const IntPoint& srcPoin t, const IntSize& tileSize, 270 void drawTiledImage(Image*, const IntRect& destRect, const IntPoint& srcPoin t, const IntSize& tileSize,
271 CompositeOperator = CompositeSourceOver, WebBlendMode = WebBlendModeNorm al, const IntSize& repeatSpacing = IntSize()); 271 CompositeOperator = CompositeSourceOver, WebBlendMode = WebBlendModeNorm al, const IntSize& repeatSpacing = IntSize());
272 void drawTiledImage(Image*, const IntRect& destRect, const IntRect& srcRect, 272 void drawTiledImage(Image*, const IntRect& destRect, const IntRect& srcRect,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 unsigned m_accelerated : 1; 518 unsigned m_accelerated : 1;
519 unsigned m_isCertainlyOpaque : 1; 519 unsigned m_isCertainlyOpaque : 1;
520 unsigned m_printing : 1; 520 unsigned m_printing : 1;
521 unsigned m_antialiasHairlineImages : 1; 521 unsigned m_antialiasHairlineImages : 1;
522 unsigned m_shouldSmoothFonts : 1; 522 unsigned m_shouldSmoothFonts : 1;
523 }; 523 };
524 524
525 } // namespace blink 525 } // namespace blink
526 526
527 #endif // GraphicsContext_h 527 #endif // GraphicsContext_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-hidpi-blurry.html ('k') | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698