stlab.adobe.com Adobe Systems Incorporated

windows_graphic_utils.hpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2005-2007 Adobe Systems Incorporated
00003     Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
00004     or a copy at http://stlab.adobe.com/licenses.html)
00005 */
00006 
00007 /****************************************************************************************************/
00008 
00009 #ifndef ADOBE_WIN32_GRAPHIC_UTILS_HPP
00010 #define ADOBE_WIN32_GRAPHIC_UTILS_HPP
00011 
00012 /****************************************************************************************************/
00013 
00014 #define WINDOWS_LEAN_AND_MEAN 1
00015 
00016 #include <windows.h>
00017 
00018 #include <adobe/config.hpp>
00019 
00020 #include <boost/gil/typedefs.hpp>
00021 
00022 /****************************************************************************************************/
00023 
00024 namespace adobe {
00025 
00026 /****************************************************************************************************/
00027 
00028     HBITMAP to_bitmap(const boost::gil::rgba8_image_t& image);
00029 
00030 /****************************************************************************************************/
00031 
00032 HCURSOR to_cursor(HBITMAP bitmap, int hotspot_x, int hotspot_y);
00033 
00034 /****************************************************************************************************/
00035 
00036 } // namespace adobe
00037 
00038 /****************************************************************************************************/
00039 // ADOBE_WIN32_GRAPHIC_UTILS_HPP
00040 #endif
00041 
00042 /****************************************************************************************************/

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google