Changeset 439
- Timestamp:
- 08/18/08 10:35:37 (4 months ago)
- Files:
-
- trunk/BAL/ChangeLogOWB (modified) (1 diff)
- trunk/BAL/OWBAL/Skeletons/Memory/FastMalloc.t (modified) (2 diffs)
- trunk/BAL/WKAL/Skeletons/Graphics/AffineTransform.t (modified) (1 diff)
- trunk/BAL/WKAL/Skeletons/Graphics/BitmapImage.t (modified) (9 diffs)
- trunk/BAL/WKAL/Skeletons/Graphics/Color.t (modified) (3 diffs)
- trunk/BAL/WKAL/Skeletons/Graphics/GraphicsContext.t (modified) (1 diff)
- trunk/BAL/WKAL/Skeletons/Graphics/Image.t (modified) (1 diff)
- trunk/BAL/WKAL/Skeletons/Graphics/ImageBuffer.t (modified) (1 diff)
- trunk/BAL/WKAL/Skeletons/Graphics/SVGImage.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/ChangeLogOWB
r438 r439 1 2008-08-18 Mario Bensi <mbensi@pleyo.com> 2 3 Reviewed by Olivier DOLE. 4 Fix Documentation 5 6 * OWBAL/Skeletons/Memory/FastMalloc.t: 7 * WKAL/Skeletons/Graphics/AffineTransform.t: 8 * WKAL/Skeletons/Graphics/BitmapImage.t: 9 * WKAL/Skeletons/Graphics/Color.t: 10 * WKAL/Skeletons/Graphics/GraphicsContext.t: 11 * WKAL/Skeletons/Graphics/Image.t: 12 * WKAL/Skeletons/Graphics/ImageBuffer.t: 13 * WKAL/Skeletons/Graphics/SVGImage.t: 14 1 15 2008-08-16 Mario Bensi <mbensi@pleyo.com> 2 16 trunk/BAL/OWBAL/Skeletons/Memory/FastMalloc.t
r437 r439 90 90 * tryFastRealloc 91 91 */ 92 void* tryFastRealloc(void* p, size_t n) 92 void* tryFastRealloc(void* p, size_t n); 93 93 94 94 /** … … 96 96 * @param[in] : pointer 97 97 */ 98 void fastFree(void* p) 98 void fastFree(void* p); 99 99 100 100 #ifndef NDEBUG 101 102 101 /** 103 102 * fastMallocForbid trunk/BAL/WKAL/Skeletons/Graphics/AffineTransform.t
r437 r439 436 436 * PlatformAffineTransform operator 437 437 */ 438 operator PlatformAffineTransform() const 438 operator PlatformAffineTransform() const; 439 439 440 440 /** trunk/BAL/WKAL/Skeletons/Graphics/BitmapImage.t
r437 r439 111 111 * create bitmap image 112 112 */ 113 static PassRefPtr<BitmapImage> create(ImageObserver* observer = 0) 113 static PassRefPtr<BitmapImage> create(ImageObserver* observer = 0); 114 114 115 115 /** … … 194 194 * BitmapImage constructor 195 195 */ 196 BitmapImage(NativeImagePtr, ImageObserver* = 0) 196 BitmapImage(NativeImagePtr, ImageObserver* = 0); 197 197 /** 198 198 * BitmapImage constructor … … 202 202 * @endcode 203 203 */ 204 BitmapImage(ImageObserver* = 0) 204 BitmapImage(ImageObserver* = 0); 205 206 207 /** 208 * draw 209 */ 210 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator); 205 211 206 212 /** … … 211 217 * @endcode 212 218 */ 213 size_t currentFrame() const 219 size_t currentFrame() const ; 214 220 215 221 /** … … 226 232 * @endcode 227 233 */ 228 NativeImagePtr frameAtIndex(size_t) 234 NativeImagePtr frameAtIndex(size_t); 229 235 230 236 /** … … 243 249 bool frameHasAlphaAtIndex(size_t); 244 250 251 252 /** 253 * cacheFrame 254 */ 255 void cacheFrame(size_t index); 256 245 257 /** 246 258 * Called to invalidate all our cached data. If an image is loading incrementally, we only invalidate the last cached frame. … … 250 262 * @endcode 251 263 */ 252 virtual void destroyDecodedData(bool incremental = false) 264 virtual void destroyDecodedData(bool incremental = false); 253 265 254 266 // Whether or not size is available yet. … … 312 324 * get solid color 313 325 */ 314 virtual Color solidColor() const ;326 virtual Color solidColor() const ; 315 327 316 328 ImageSource m_source; … … 343 355 } 344 356 345 #endi f357 #endi trunk/BAL/WKAL/Skeletons/Graphics/Color.t
r437 r439 216 216 * test if the color has alpha 217 217 */ 218 bool hasAlpha() const ;218 bool hasAlpha() const ; 219 219 220 220 /** … … 261 261 * @endcode 262 262 */ 263 RGBA32 rgb() const ;263 RGBA32 rgb() const ; 264 264 265 265 … … 271 271 * @endcode 272 272 */ 273 void setRGB(int r, int g, int b) ;273 void setRGB(int r, int g, int b) ; 274 274 275 275 /** trunk/BAL/WKAL/Skeletons/Graphics/GraphicsContext.t
r437 r439 922 922 * @endcode 923 923 */ 924 BalEventExpose* balExposeEvent() const 924 BalEventExpose* balExposeEvent() const; 925 925 926 926 private: trunk/BAL/WKAL/Skeletons/Graphics/Image.t
r437 r439 307 307 * draw 308 308 */ 309 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator) = 0 309 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator) = 0; 310 310 /** 311 311 * drawTiled trunk/BAL/WKAL/Skeletons/Graphics/ImageBuffer.t
r437 r439 95 95 * @endcode 96 96 */ 97 GraphicsContext* context() const 97 GraphicsContext* context() const; 98 98 99 99 /** trunk/BAL/WKAL/Skeletons/Graphics/SVGImage.t
r437 r439 58 58 * create SVG Image 59 59 */ 60 static PassRefPtr<SVGImage> create(ImageObserver* observer) 60 static PassRefPtr<SVGImage> create(ImageObserver* observer); 61 61 62 62 /** … … 145 145 virtual NativeImagePtr frameAtIndex(size_t) ; 146 146 147 private : 148 149 /** 150 * SVGImage constructor 151 */ 152 SVGImage(ImageObserver*); 153 147 154 /** 148 155 * draw … … 152 159 /** 153 160 * get nativeImageForCurrentFrame 154 */155 virtual NativeImagePtr nativeImageForCurrentFrame();156 157 158 159 privat160 161 /**162 * nativeImageForCurrentFrame163 161 */ 164 162 virtual NativeImagePtr nativeImageForCurrentFrame();
