added InitAlpha() (replaces patch 991168)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-19 21:51:37 +00:00
parent 1dfd425a8c
commit 828f093601
4 changed files with 51 additions and 0 deletions

View File

@@ -639,6 +639,16 @@ Returns true if the given option is present. The function is case-insensitive to
\helpref{wxImage::GetOptionInt}{wximagegetoptionint}
\membersection{wxImage::InitAlpha}\label{wximageinitalpha}
\func{void}{InitAlpha}{\void}
Initializes the image alpha channel data. It is an error to call it
if the image already has alpha data. If it doesn't, alpha data will be
by default initialized to all pixels being fully opaque. But if the image has a
a mask colour, all mask pixels will be completely transparent.
\membersection{wxImage::InitStandardHandlers}\label{wximageinitstandardhandlers}
\func{static void}{InitStandardHandlers}{\void}