-
- ~wxWindowDC();
-
- // TODO this function is Motif-only for now - should it go into base class?
- void Clear(const wxRect& rect);
-
- // implement base class pure virtuals
- // ----------------------------------
-
- virtual void Clear();
-
- virtual void SetFont(const wxFont& font);
- virtual void SetPen(const wxPen& pen);
- virtual void SetBrush(const wxBrush& brush);
- virtual void SetBackground(const wxBrush& brush);
- virtual void SetBackgroundMode(int mode);
- virtual void SetPalette(const wxPalette& palette);
- virtual void SetLogicalFunction( int function );
-
- virtual void SetTextForeground(const wxColour& colour);
- virtual void SetTextBackground(const wxColour& colour);
-
- virtual wxCoord GetCharHeight() const;
- virtual wxCoord GetCharWidth() const;
- virtual void DoGetTextExtent(const wxString& string,
- wxCoord *x, wxCoord *y,
- wxCoord *descent = NULL,
- wxCoord *externalLeading = NULL,
- wxFont *theFont = NULL) const;
-
- virtual bool CanDrawBitmap() const;
- virtual bool CanGetTextExtent() const;
-
- virtual int GetDepth() const;
- virtual wxSize GetPPI() const;
-
- virtual void DestroyClippingRegion();
-
- // Helper function for setting clipping
- void SetDCClipping();
-
- // implementation from now on
- // --------------------------
-
- WXGC GetGC() const { return m_gc; }
- WXGC GetBackingGC() const { return m_gcBacking; }
- WXDisplay* GetDisplay() const { return m_display; }
- bool GetAutoSetting() const { return m_autoSetting; }
- void SetAutoSetting(bool flag) { m_autoSetting = flag; }
-