]> git.saurik.com Git - wxWidgets.git/commit
No changes, just refactor wxCairoBitmapData ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:04 +0000 (22:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:04 +0000 (22:07 +0000)
commit5f606e6515d3f986dd5d79164e8be13525594aad
treec2b8fbfbc019f4ff2627e17cc7d79a4faaab4efc
parent3c9e0b81fa917be572f930b40890f64505e43725
No changes, just refactor wxCairoBitmapData ctor.

Extract the code for buffer and surface creation into separate helper
functions so that they could be reused by other constructors (to be added in
the next commits).

Also use cairo_format_stride_for_width(), if available, to compute the stride
for the surfaces we create instead of hard coding 4*width.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/graphicc.cpp