Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-07-22 Patrick Gansterer <paroga@paroga.com>
Reviewed by Adam Roben. [WINCE] Add additonal methods to BitmapInfo. https://bugs.webkit.org/show_bug.cgi?id=42071 Added a parameter to create 16bit BitmapInfo and some additional accessors for the WinCE port. Set bmiHeader.biSize only at constructor. * platform/win/BitmapInfo.cpp: Added property svn:eol-style. (WebCore::bitmapInfoForSize): (WebCore::BitmapInfo::create): (WebCore::BitmapInfo::createBottomUp): * platform/win/BitmapInfo.h: Added property svn:eol-style. (WebCore::BitmapInfo::is16bit): (WebCore::BitmapInfo::is32bit): (WebCore::BitmapInfo::width): (WebCore::BitmapInfo::height): (WebCore::BitmapInfo::size): (WebCore::BitmapInfo::paddedWidth): (WebCore::BitmapInfo::numPixels): (WebCore::BitmapInfo::paddedBytesPerLine): (WebCore::BitmapInfo::bytesPerLine): Canonical link: https://commits.webkit.org/54777@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
40 additions
and 8 deletions.
- +27 −0 WebCore/ChangeLog
- +13 −8 WebCore/platform/win/BitmapInfo.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters