// Name: dc.cpp
// Purpose:
// Author: Robert Roebling
-// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// Copyright: (c) 1998 Robert Roebling, Markus Holzem
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
}
-void wxDC::DrawArc( long WXUNUSED(x1), long WXUNUSED(y1), long WXUNUSED(x2), long WXUNUSED(y2),
- double WXUNUSED(xc), double WXUNUSED(yc) )
-{
+bool wxDC::Ok(void) const
+{
+ wxASSERT_MSG( m_ok, "invalid display context" );
+ return m_ok;
}
-void wxDC::DrawIcon( const wxIcon &WXUNUSED(icon), long WXUNUSED(x), long WXUNUSED(y), bool WXUNUSED(useMask) )
+void wxDC::DrawArc( long WXUNUSED(x1), long WXUNUSED(y1), long WXUNUSED(x2), long WXUNUSED(y2),
+ double WXUNUSED(xc), double WXUNUSED(yc) )
{
}
}
}
-void wxDC::DrawSpline( wxList *points )
-{
- DrawOpenSpline( points );
-}
-
void wxDC::DrawSpline( int n, wxPoint points[] )
{
wxList list;
{
// this is a bit artificial, but we need to force wxDC to think
// the pen has changed
+ // Using this code, wxDC will ignore the new settings
+ // so it's complete non-sense, Robert Roebling TODO!!
+ // It even gives an Assert, Robert Roebling
+/*
wxPen* pen = GetPen();
wxPen tempPen;
m_pen = tempPen;
SetPen(pen);
+*/
}
}