Changeset 439

Show
Ignore:
Timestamp:
08/18/08 10:35:37 (4 months ago)
Author:
mbensi
Message:

2008-08-18 Mario Bensi <mbensi@pleyo.com>

Reviewed by Olivier DOLE.
Fix Documentation

  • OWBAL/Skeletons/Memory/FastMalloc.t:
  • WKAL/Skeletons/Graphics/AffineTransform.t:
  • WKAL/Skeletons/Graphics/BitmapImage.t:
  • WKAL/Skeletons/Graphics/Color.t:
  • WKAL/Skeletons/Graphics/GraphicsContext.t:
  • WKAL/Skeletons/Graphics/Image.t:
  • WKAL/Skeletons/Graphics/ImageBuffer.t:
  • WKAL/Skeletons/Graphics/SVGImage.t:
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BAL/ChangeLogOWB

    r438 r439  
     12008-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 
    1152008-08-16  Mario Bensi  <mbensi@pleyo.com> 
    216 
  • trunk/BAL/OWBAL/Skeletons/Memory/FastMalloc.t

    r437 r439  
    9090     * tryFastRealloc 
    9191     */ 
    92     void* tryFastRealloc(void* p, size_t n) 
     92    void* tryFastRealloc(void* p, size_t n); 
    9393 
    9494    /** 
     
    9696     * @param[in] : pointer 
    9797     */ 
    98     void fastFree(void* p) 
     98    void fastFree(void* p); 
    9999 
    100100#ifndef NDEBUG     
    101  
    102101    /** 
    103102     * fastMallocForbid 
  • trunk/BAL/WKAL/Skeletons/Graphics/AffineTransform.t

    r437 r439  
    436436     * PlatformAffineTransform operator 
    437437     */ 
    438     operator PlatformAffineTransform() const 
     438    operator PlatformAffineTransform() const; 
    439439 
    440440    /** 
  • trunk/BAL/WKAL/Skeletons/Graphics/BitmapImage.t

    r437 r439  
    111111     *  create bitmap image 
    112112     */ 
    113     static PassRefPtr<BitmapImage> create(ImageObserver* observer = 0) 
     113    static PassRefPtr<BitmapImage> create(ImageObserver* observer = 0); 
    114114 
    115115    /** 
     
    194194     *  BitmapImage constructor 
    195195     */ 
    196     BitmapImage(NativeImagePtr, ImageObserver* = 0) 
     196    BitmapImage(NativeImagePtr, ImageObserver* = 0); 
    197197    /** 
    198198     * BitmapImage constructor 
     
    202202     * @endcode 
    203203     */ 
    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); 
    205211 
    206212    /** 
     
    211217     * @endcode 
    212218     */ 
    213     size_t currentFrame() const  
     219    size_t currentFrame() const ; 
    214220 
    215221    /** 
     
    226232     * @endcode 
    227233     */ 
    228     NativeImagePtr frameAtIndex(size_t) 
     234    NativeImagePtr frameAtIndex(size_t); 
    229235 
    230236    /** 
     
    243249    bool frameHasAlphaAtIndex(size_t); 
    244250 
     251 
     252    /** 
     253     *  cacheFrame 
     254     */ 
     255    void cacheFrame(size_t index); 
     256 
    245257    /** 
    246258     * Called to invalidate all our cached data.  If an image is loading incrementally, we only  invalidate the last cached frame. 
     
    250262     * @endcode 
    251263     */ 
    252     virtual void destroyDecodedData(bool incremental = false) 
     264    virtual void destroyDecodedData(bool incremental = false); 
    253265  
    254266    // Whether or not size is available yet. 
     
    312324     * get solid color 
    313325     */ 
    314     virtual Color solidColor() const
     326    virtual Color solidColor() const
    315327     
    316328    ImageSource m_source; 
     
    343355} 
    344356 
    345 #endif 
     357#endi 
  • trunk/BAL/WKAL/Skeletons/Graphics/Color.t

    r437 r439  
    216216     * test if the color has alpha 
    217217     */ 
    218     bool hasAlpha() const
     218    bool hasAlpha() const
    219219 
    220220    /** 
     
    261261     * @endcode 
    262262     */ 
    263     RGBA32 rgb() const
     263    RGBA32 rgb() const
    264264 
    265265     
     
    271271     * @endcode 
    272272     */ 
    273     void setRGB(int r, int g, int b)
     273    void setRGB(int r, int g, int b)
    274274 
    275275    /** 
  • trunk/BAL/WKAL/Skeletons/Graphics/GraphicsContext.t

    r437 r439  
    922922     * @endcode 
    923923     */ 
    924         BalEventExpose* balExposeEvent() const 
     924        BalEventExpose* balExposeEvent() const; 
    925925 
    926926    private: 
  • trunk/BAL/WKAL/Skeletons/Graphics/Image.t

    r437 r439  
    307307     * draw 
    308308     */ 
    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; 
    310310    /** 
    311311     *  drawTiled 
  • trunk/BAL/WKAL/Skeletons/Graphics/ImageBuffer.t

    r437 r439  
    9595     * @endcode 
    9696     */ 
    97         GraphicsContext* context() const 
     97        GraphicsContext* context() const; 
    9898 
    9999    /** 
  • trunk/BAL/WKAL/Skeletons/Graphics/SVGImage.t

    r437 r439  
    5858     *  create SVG Image 
    5959     */ 
    60         static PassRefPtr<SVGImage> create(ImageObserver* observer) 
     60        static PassRefPtr<SVGImage> create(ImageObserver* observer); 
    6161 
    6262    /** 
     
    145145        virtual NativeImagePtr frameAtIndex(size_t) ; 
    146146 
     147private : 
     148 
     149    /** 
     150     * SVGImage constructor  
     151     */ 
     152        SVGImage(ImageObserver*); 
     153 
    147154    /** 
    148155     *  draw  
     
    152159    /** 
    153160     * get nativeImageForCurrentFrame 
    154      */ 
    155         virtual NativeImagePtr nativeImageForCurrentFrame(); 
    156      
    157      
    158          
    159 privat 
    160          
    161     /** 
    162      *  nativeImageForCurrentFrame 
    163161     */ 
    164162        virtual NativeImagePtr nativeImageForCurrentFrame();