]> git.saurik.com Git - wxWidgets.git/commit - src/generic/graphicc.cpp
Allow creating wxGraphicsBitmap and wxGraphicsContext from wxImage.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:22 +0000 (22:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:22 +0000 (22:07 +0000)
commit0a470e5ea537237f0562c3b2182ee293dec36eb3
tree0d8b7aec682fc9539e6965077a0b2d3abaa06670
parent12493a5fb8f95c1a2918fc3ef010995ab1e4946a
Allow creating wxGraphicsBitmap and wxGraphicsContext from wxImage.

Provide a way to use wxGraphicsContext to draw on wxImage.

This is implemented internally by drawing on wxGraphicsBitmap which can be now
also created from wxImage.

Add a test of the new functionality to the image sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/graphics.h
interface/wx/graphics.h
samples/image/image.cpp
src/common/graphcmn.cpp
src/generic/graphicc.cpp
src/msw/graphics.cpp
src/osx/carbon/graphics.cpp