simplify coordinate transformation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b34497d885
commit
772b376785
5 changed files with 53 additions and 103 deletions
|
|
@ -11,15 +11,9 @@
|
|||
#define __GTKDCCLIENTH__
|
||||
|
||||
#include "wx/dc.h"
|
||||
#include "wx/window.h"
|
||||
#include "wx/region.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// classes
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxWindowDC;
|
||||
class WXDLLIMPEXP_CORE wxPaintDC;
|
||||
class WXDLLIMPEXP_CORE wxClientDC;
|
||||
class WXDLLIMPEXP_CORE wxWindow;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxWindowDC
|
||||
|
|
@ -120,6 +114,7 @@ public:
|
|||
PangoLayout *m_layout;
|
||||
PangoFontDescription *m_fontdesc;
|
||||
|
||||
protected:
|
||||
void SetUpDC();
|
||||
void Destroy();
|
||||
virtual void ComputeScaleAndOrigin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue