Changeset 38684 in webkit
- Timestamp:
- Nov 21, 2008 6:27:48 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r38683 r38684 1 2008-11-21 Kevin Watters <kevinwatters@gmail.com> 2 3 Reviewed by Kevin Ollivier. 4 5 Implementation of AffineTransform::mapRect for wx. 6 7 https://bugs.webkit.org/show_bug.cgi?id=22401 8 9 * platform/graphics/wx/AffineTransformWx.cpp: 10 (WebCore::AffineTransform::mapRect): 11 1 12 2008-11-21 Justin Garcia <justin.garcia@apple.com> 2 13 -
trunk/WebCore/platform/graphics/wx/AffineTransformWx.cpp
r36371 r38684 84 84 IntRect AffineTransform::mapRect(const IntRect &rect) const 85 85 { 86 notImplemented(); 86 #if USE(WXGC) 87 double x, y, width, height; 88 x = rect.x(); 89 y = rect.y(); 90 width = rect.width(); 91 height = rect.height(); 92 93 m_transform.TransformPoint(&x, &y); 94 m_transform.TransformDistance(&width, &height); 95 return IntRect(x, y, width, height); 96 #endif 87 97 return IntRect(); 88 98 } … … 90 100 FloatRect AffineTransform::mapRect(const FloatRect &rect) const 91 101 { 92 notImplemented(); 102 #if USE(WXGC) 103 double x, y, width, height; 104 x = rect.x(); 105 y = rect.y(); 106 width = rect.width(); 107 height = rect.height(); 108 109 m_transform.TransformPoint(&x, &y); 110 m_transform.TransformDistance(&width, &height); 111 return FloatRect(x, y, width, height); 112 #endif 93 113 return FloatRect(); 94 114 }
Note: See TracChangeset
for help on using the changeset viewer.