【GUIライブラリ】wxWindowsでのひょーん
at TECH
683:思兼 ◆l3iwkTImVo
04/02/10 16:14
>>682
wxBitmapの中のソースは見てないけど,リファレンスには
"under Windows, the data is passed without any changes
to the underlying CreateBitmap() API."
って書いてある.んで,MSDNのCreateBitmap()には,
"The CreateBitmap function can be used to create color bitmaps.
However, for performance reasons applications should use CreateBitmap
to create monochrome bitmaps and CreateCompatibleBitmap to create
color bitmaps. "
って書いてある.Windowsでは,推奨はされていないものの,ちゃんと動く.でもWindows
以外では動かないから,プラットフォーム非依存を目指すならwxImageを使う,もしくは
一旦ファイルに書き出してからwxBitmapで読み込むという手順を取る.
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5132日前に更新/338 KB
担当:undef