git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63958
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CGContextRef inContext,
const CGRect * inBounds,
CGImageRef inImage) ;
CGContextRef inContext,
const CGRect * inBounds,
CGImageRef inImage) ;
-WX_NSImage WXDLLIMPEXP_CORE wxOSXCreateNSImageFromCGImage( CGImageRef image );
+WX_NSImage WXDLLIMPEXP_CORE wxOSXGetNSImageFromCGImage( CGImageRef image );
CGImageRef WXDLLIMPEXP_CORE wxOSXCreateCGImageFromNSImage( WX_NSImage nsimage );
#endif
CGImageRef WXDLLIMPEXP_CORE wxOSXCreateCGImageFromNSImage( WX_NSImage nsimage );
#endif
const CGRect * inBounds,
CGImageRef inImage) ;
const CGRect * inBounds,
CGImageRef inImage) ;
-WX_UIImage WXDLLIMPEXP_CORE wxOSXCreateUIImageFromCGImage( CGImageRef image );
+WX_UIImage WXDLLIMPEXP_CORE wxOSXGetUIImageFromCGImage( CGImageRef image );
class WXDLLIMPEXP_CORE wxWidgetIPhoneImpl : public wxWidgetImpl
{
class WXDLLIMPEXP_CORE wxWidgetIPhoneImpl : public wxWidgetImpl
{
-WX_UIImage wxOSXCreateUIImageFromCGImage( CGImageRef image )
+WX_UIImage wxOSXGetUIImageFromCGImage( CGImageRef image )
{
UIImage *newImage = [UIImage imageWithCGImage:image];
[newImage autorelease];
{
UIImage *newImage = [UIImage imageWithCGImage:image];
[newImage autorelease];
#if wxOSX_USE_COCOA
// From "Cocoa Drawing Guide:Working with Images"
#if wxOSX_USE_COCOA
// From "Cocoa Drawing Guide:Working with Images"
-WX_NSImage wxOSXCreateNSImageFromCGImage( CGImageRef image )
+WX_NSImage wxOSXGetNSImageFromCGImage( CGImageRef image )
{
NSRect imageRect = NSMakeRect(0.0, 0.0, 0.0, 0.0);
{
NSRect imageRect = NSMakeRect(0.0, 0.0, 0.0, 0.0);
- NSImage *nsImage = wxOSXCreateNSImageFromCGImage( cgImageRef );
+ NSImage *nsImage = wxOSXGetNSImageFromCGImage( cgImageRef );
NSCursor *cursor = [[NSCursor alloc] initWithImage:nsImage hotSpot:NSMakePoint( hotSpotX, hotSpotY )];
NSCursor *cursor = [[NSCursor alloc] initWithImage:nsImage hotSpot:NSMakePoint( hotSpotX, hotSpotY )];
WX_NSImage wxBitmap::GetNSImage() const
{
wxCFRef< CGImageRef > cgimage(CreateCGImage());
WX_NSImage wxBitmap::GetNSImage() const
{
wxCFRef< CGImageRef > cgimage(CreateCGImage());
- return wxOSXCreateNSImageFromCGImage( cgimage );
+ return wxOSXGetNSImageFromCGImage( cgimage );
WX_UIImage wxBitmap::GetUIImage() const
{
wxCFRef< CGImageRef > cgimage(CreateCGImage());
WX_UIImage wxBitmap::GetUIImage() const
{
wxCFRef< CGImageRef > cgimage(CreateCGImage());
- return wxOSXCreateUIImageFromCGImage( cgimage );
+ return wxOSXGetUIImageFromCGImage( cgimage );