git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45346
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
inline wxCStrData::operator bool() const
{
return !m_str->empty();
inline wxCStrData::operator bool() const
{
return !m_str->empty();
// simple cases for AsChar() and AsWChar(), the complicated ones are
// in string.cpp
// simple cases for AsChar() and AsWChar(), the complicated ones are
// in string.cpp
#define semicolon wxString(wxT(";"))
#define wx_round(a) (int)((a)+.5)
#define semicolon wxString(wxT(";"))
#define wx_round(a) (int)((a)+.5)
-static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } ;
+static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; }
wxString wxColStr ( wxColour c )
{
wxString wxColStr ( wxColour c )
{
{
// quarter 640x480 screen display at 72 dpi
Init (f,320,240,72.0);
{
// quarter 640x480 screen display at 72 dpi
Init (f,320,240,72.0);
wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height)
{
Init (f,Width,Height,72.0);
wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height)
{
Init (f,Width,Height,72.0);
wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height, float dpi)
{
Init (f,Width,Height,dpi);
wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height, float dpi)
{
Init (f,Width,Height,dpi);
wxSVGFileDC::~wxSVGFileDC()
{
wxSVGFileDC::~wxSVGFileDC()
{
CalcBoundingBox(x1, y1) ;
CalcBoundingBox(x2, y2) ;
return;
CalcBoundingBox(x1, y1) ;
CalcBoundingBox(x2, y2) ;
return;
void wxSVGFileDC::DoDrawLines(int n, wxPoint points[], wxCoord xoffset , wxCoord yoffset )
{
void wxSVGFileDC::DoDrawLines(int n, wxPoint points[], wxCoord xoffset , wxCoord yoffset )
{