| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 4 * Copyright (C) 2008-2009 Torch Mobile, Inc. | 4 * Copyright (C) 2008-2009 Torch Mobile, Inc. |
| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 Certain // The repetition count is known to be correct. | 180 Certain // The repetition count is known to be correct. |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 BitmapImage(NativeImagePtr, ImageObserver* = 0); | 183 BitmapImage(NativeImagePtr, ImageObserver* = 0); |
| 184 BitmapImage(ImageObserver* = 0); | 184 BitmapImage(ImageObserver* = 0); |
| 185 | 185 |
| 186 #if PLATFORM(WIN) | 186 #if PLATFORM(WIN) |
| 187 virtual void drawFrameMatchingSourceSize(GraphicsContext*, const FloatRect&
dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator); | 187 virtual void drawFrameMatchingSourceSize(GraphicsContext*, const FloatRect&
dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator); |
| 188 #endif | 188 #endif |
| 189 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRec
t& srcRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode); | 189 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRec
t& srcRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode); |
| 190 #if USE(CG) || PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY) | 190 #if USE(CG) || PLATFORM(CHROMIUM) |
| 191 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRec
t& srcRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode, RespectIma
geOrientationEnum) OVERRIDE; | 191 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRec
t& srcRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode, RespectIma
geOrientationEnum) OVERRIDE; |
| 192 #endif | 192 #endif |
| 193 | 193 |
| 194 #if (OS(WINCE) && !PLATFORM(QT)) | 194 #if (OS(WINCE) && !PLATFORM(QT)) |
| 195 virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const A
ffineTransform& patternTransform, | 195 virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const A
ffineTransform& patternTransform, |
| 196 const FloatPoint& phase, ColorSpace styleColorSpace
, CompositeOperator, const FloatRect& destRect); | 196 const FloatPoint& phase, ColorSpace styleColorSpace
, CompositeOperator, const FloatRect& destRect); |
| 197 #endif | 197 #endif |
| 198 | 198 |
| 199 size_t currentFrame() const { return m_currentFrame; } | 199 size_t currentFrame() const { return m_currentFrame; } |
| 200 virtual size_t frameCount(); | 200 virtual size_t frameCount(); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 bool m_allDataReceived : 1; // Whether or not we've received all our data. | 291 bool m_allDataReceived : 1; // Whether or not we've received all our data. |
| 292 mutable bool m_haveSize : 1; // Whether or not our |m_size| member variable
has the final overall image size yet. | 292 mutable bool m_haveSize : 1; // Whether or not our |m_size| member variable
has the final overall image size yet. |
| 293 bool m_sizeAvailable : 1; // Whether or not we can obtain the size of the fi
rst image frame yet from ImageIO. | 293 bool m_sizeAvailable : 1; // Whether or not we can obtain the size of the fi
rst image frame yet from ImageIO. |
| 294 mutable bool m_hasUniformFrameSize : 1; | 294 mutable bool m_hasUniformFrameSize : 1; |
| 295 mutable bool m_haveFrameCount : 1; | 295 mutable bool m_haveFrameCount : 1; |
| 296 }; | 296 }; |
| 297 | 297 |
| 298 } | 298 } |
| 299 | 299 |
| 300 #endif | 300 #endif |
| OLD | NEW |