932d0768aa
done for GDI+. * Enable the use of the wxCairoContext on MSW. * Enable creating a wxGCDC from an exisiting wxGraphicsContext. * Since it's possible for a DLL that is using wx to not be on the PATH nor in the same location as the .exe, change the wxDynamicLibrary::RawLoad method to explicitly look first in the same place as the main wx-using binary. This way it will find DLLs that are in the same folder as the wx-using binary even if that would not be in the normal DLL search path. * Change wxDCImpl and wxDC::GetLogicalScale to be const methods. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
30 lines
599 B
C
30 lines
599 B
C
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cairo.h
|
|
// Purpose: Cairo library
|
|
// Author: Anthony Bretaudeau
|
|
// Created: 2007-08-25
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) Anthony Bretaudeau
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_CAIRO_H_BASE_
|
|
#define _WX_CAIRO_H_BASE_
|
|
|
|
#if wxUSE_CAIRO
|
|
|
|
#include "wx/dynlib.h"
|
|
#include <cairo.h>
|
|
|
|
extern "C"
|
|
{
|
|
|
|
bool wxCairoInit();
|
|
void wxCairoCleanUp();
|
|
|
|
}
|
|
|
|
#endif // wxUSE_CAIRO
|
|
|
|
#endif // _WX_CAIRO_H_BASE_
|