Changeset 54219 in webkit


Ignore:
Timestamp:
Feb 2, 2010 2:27:21 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-02-02 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

[BREWMP] Add conversions between IntPoint and AEEPoint
https://bugs.webkit.org/show_bug.cgi?id=34194

Make it easy to convert between IntPoint and AEEPoint.

  • platform/graphics/IntPoint.h:
  • platform/graphics/brew/IntPointBrew.cpp: Added. (WebCore::IntPoint::IntPoint): (WebCore::IntPoint::operator AEEPoint):
Location:
trunk/WebCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r54218 r54219  
     12010-02-02  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [BREWMP] Add conversions between IntPoint and AEEPoint
     6        https://bugs.webkit.org/show_bug.cgi?id=34194
     7
     8        Make it easy to convert between IntPoint and AEEPoint.
     9
     10        * platform/graphics/IntPoint.h:
     11        * platform/graphics/brew/IntPointBrew.cpp: Added.
     12        (WebCore::IntPoint::IntPoint):
     13        (WebCore::IntPoint::operator AEEPoint):
     14
    1152010-02-02  Steve Block  <steveblock@google.com>
    216
  • trunk/WebCore/platform/graphics/IntPoint.h

    r47146 r54219  
    6464#endif
    6565
     66#if PLATFORM(BREWMP)
     67typedef struct _point AEEPoint;
     68#endif
     69
    6670#if PLATFORM(SKIA)
    6771struct SkPoint;
     
    134138#endif
    135139
     140#if PLATFORM(BREWMP)
     141    IntPoint(const AEEPoint&);
     142    operator AEEPoint() const;
     143#endif
     144
    136145#if PLATFORM(SKIA)
    137146    IntPoint(const SkIPoint&);
Note: See TracChangeset for help on using the changeset viewer.