/////////////////////////////////////////////////////////////////////////////
// Name: graphics.h
-// Purpose: documentation for wxGraphicsPath class
+// Purpose: interface of wxGraphicsPath
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
public:
//@{
/**
-
+
*/
void AddArc(wxDouble x, wxDouble y, wxDouble r,
wxDouble startAngle,
//@{
/**
-
+
*/
void AddCurveToPoint(wxDouble cx1, wxDouble cy1, wxDouble cx2,
wxDouble cy2,
//@{
/**
-
+
*/
void AddLineToPoint(wxDouble x, wxDouble y);
void AddLineToPoint(const wxPoint2DDouble& p);
};
+
/**
@class wxGraphicsObject
@wxheader{graphics.h}
@library{wxcore}
@category{FIXME}
- @seealso
- wxGraphicsBrush, wxGraphicsPen, wxGraphicsMatrix, wxGraphicsPath
+ @see wxGraphicsBrush, wxGraphicsPen, wxGraphicsMatrix, wxGraphicsPath
*/
class wxGraphicsObject : public wxObject
{
};
+
/**
@class wxGraphicsContext
@wxheader{graphics.h}
@library{wxcore}
@category{FIXME}
- @seealso
- wxGraphicsRenderer:: CreateContext
+ @see wxGraphicsRenderer:: CreateContext
*/
class wxGraphicsContext : public wxGraphicsObject
{
//@{
/**
Creates a wxGraphicsContext from a wxWindow.
-
+
@see wxGraphicsRenderer:: CreateContext
*/
wxGraphicsContext* Create(const wxWindowDC& dc);
Creates a wxGraphicsContext from a native context. This native context must be
eg a CGContextRef for Core Graphics, a Graphics pointer for GDIPlus or a
cairo_t pointer for cairo.
-
+
Creates a wxGraphicsContext from a native window.
-
+
@see wxGraphicsRenderer:: CreateContextFromNativeContext
*/
wxGraphicsContext* CreateFromNative(void* context);
};
+
/**
@class wxGraphicsRenderer
@wxheader{graphics.h}
};
+
/**
@class wxGraphicsBrush
@wxheader{graphics.h}
};
+
/**
@class wxGraphicsFont
@wxheader{graphics.h}
};
+
/**
@class wxGraphicsPen
@wxheader{graphics.h}
};
+
/**
@class wxGraphicsMatrix
@wxheader{graphics.h}
public:
//@{
/**
-
+
*/
void Concat(const wxGraphicsMatrix* t);
void Concat(const wxGraphicsMatrix& t);
*/
void Translate(wxDouble dx, wxDouble dy);
};
+