| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
| 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> |
| 7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
| 8 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. | 8 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. |
| 9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 10 * | 10 * |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 ASSERT(m_stateStack.begin() < m_stateStack.end()); | 295 ASSERT(m_stateStack.begin() < m_stateStack.end()); |
| 296 for (currState = m_stateStack.begin(); currState < m_stateStack.end(); currS
tate++) { | 296 for (currState = m_stateStack.begin(); currState < m_stateStack.end(); currS
tate++) { |
| 297 c->setMatrix(SkMatrix::I()); | 297 c->setMatrix(SkMatrix::I()); |
| 298 currState->get()->playbackClips(c); | 298 currState->get()->playbackClips(c); |
| 299 c->setMatrix(affineTransformToSkMatrix(currState->get()->transform())); | 299 c->setMatrix(affineTransformToSkMatrix(currState->get()->transform())); |
| 300 c->save(); | 300 c->save(); |
| 301 } | 301 } |
| 302 c->restore(); | 302 c->restore(); |
| 303 } | 303 } |
| 304 | 304 |
| 305 bool CanvasRenderingContext2D::shouldAntialias() const |
| 306 { |
| 307 return state().shouldAntialias(); |
| 308 } |
| 309 |
| 305 void CanvasRenderingContext2D::setShouldAntialias(bool doAA) | 310 void CanvasRenderingContext2D::setShouldAntialias(bool doAA) |
| 306 { | 311 { |
| 307 modifiableState().setShouldAntialias(doAA); | 312 modifiableState().setShouldAntialias(doAA); |
| 308 } | 313 } |
| 309 | 314 |
| 310 void CanvasRenderingContext2D::scrollPathIntoView() | 315 void CanvasRenderingContext2D::scrollPathIntoView() |
| 311 { | 316 { |
| 312 scrollPathIntoViewInternal(m_path); | 317 scrollPathIntoViewInternal(m_path); |
| 313 } | 318 } |
| 314 | 319 |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 | 1060 |
| 1056 unsigned CanvasRenderingContext2D::hitRegionsCount() const | 1061 unsigned CanvasRenderingContext2D::hitRegionsCount() const |
| 1057 { | 1062 { |
| 1058 if (m_hitRegionManager) | 1063 if (m_hitRegionManager) |
| 1059 return m_hitRegionManager->getHitRegionsCount(); | 1064 return m_hitRegionManager->getHitRegionsCount(); |
| 1060 | 1065 |
| 1061 return 0; | 1066 return 0; |
| 1062 } | 1067 } |
| 1063 | 1068 |
| 1064 } // namespace blink | 1069 } // namespace blink |
| OLD | NEW |