Make section header comments a little more consistent

This commit is contained in:
Robin Dunn
2019-08-07 11:42:22 -07:00
committed by Robin Dunn
parent 239b8a17b1
commit 97b8d67984

View File

@@ -87,7 +87,7 @@ extern "C"
const double M_PI = 3.14159265358979; const double M_PI = 3.14159265358979;
#endif #endif
// //-----------------------------------------------------------------------------
// Pen, Brushes and Fonts // Pen, Brushes and Fonts
// //
@@ -117,6 +117,7 @@ CGColorRef wxMacCreateCGColor( const wxColour& col )
return retval; return retval;
} }
//-----------------------------------------------------------------------------
// CGPattern wrapper class: always allocate on heap, never call destructor // CGPattern wrapper class: always allocate on heap, never call destructor
class wxMacCoreGraphicsPattern class wxMacCoreGraphicsPattern
@@ -732,9 +733,8 @@ void wxMacCoreGraphicsPenData::Apply( wxGraphicsContext* context )
} }
} }
// //-----------------------------------------------------------------------------
// Brush // Brush data and supporting colour class
//
// make sure we all use one class for all conversions from wx to native colour // make sure we all use one class for all conversions from wx to native colour
@@ -864,9 +864,8 @@ void wxMacCoreGraphicsBrushData::Apply( wxGraphicsContext* context )
} }
// //-----------------------------------------------------------------------------
// Font // Font data
//
class wxMacCoreGraphicsFontData : public wxGraphicsObjectRefData class wxMacCoreGraphicsFontData : public wxGraphicsObjectRefData
{ {
@@ -913,6 +912,9 @@ wxMacCoreGraphicsFontData::~wxMacCoreGraphicsFontData()
{ {
} }
//-----------------------------------------------------------------------------
// Bitmap data
class wxMacCoreGraphicsBitmapData : public wxGraphicsBitmapData class wxMacCoreGraphicsBitmapData : public wxGraphicsBitmapData
{ {
public: public:
@@ -946,13 +948,8 @@ wxMacCoreGraphicsBitmapData::~wxMacCoreGraphicsBitmapData()
} }
//
// Graphics Matrix
//
//-----------------------------------------------------------------------------
// wxMacCoreGraphicsMatrix declaration
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Graphics Matrix data
class WXDLLIMPEXP_CORE wxMacCoreGraphicsMatrixData : public wxGraphicsMatrixData class WXDLLIMPEXP_CORE wxMacCoreGraphicsMatrixData : public wxGraphicsMatrixData
{ {
@@ -1013,9 +1010,6 @@ private :
CGAffineTransform m_matrix; CGAffineTransform m_matrix;
} ; } ;
//-----------------------------------------------------------------------------
// wxMacCoreGraphicsMatrix implementation
//-----------------------------------------------------------------------------
wxMacCoreGraphicsMatrixData::wxMacCoreGraphicsMatrixData(wxGraphicsRenderer* renderer) : wxGraphicsMatrixData(renderer) wxMacCoreGraphicsMatrixData::wxMacCoreGraphicsMatrixData(wxGraphicsRenderer* renderer) : wxGraphicsMatrixData(renderer)
{ {
@@ -1125,13 +1119,8 @@ void * wxMacCoreGraphicsMatrixData::GetNativeMatrix() const
return (void*) &m_matrix; return (void*) &m_matrix;
} }
//
// Graphics Path
//
//-----------------------------------------------------------------------------
// wxMacCoreGraphicsPath declaration
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Graphics Path data
class WXDLLEXPORT wxMacCoreGraphicsPathData : public wxGraphicsPathData class WXDLLEXPORT wxMacCoreGraphicsPathData : public wxGraphicsPathData
{ {
@@ -1200,9 +1189,6 @@ private :
CGMutablePathRef m_path; CGMutablePathRef m_path;
}; };
//-----------------------------------------------------------------------------
// wxMacCoreGraphicsPath implementation
//-----------------------------------------------------------------------------
wxMacCoreGraphicsPathData::wxMacCoreGraphicsPathData( wxGraphicsRenderer* renderer, CGMutablePathRef path) : wxGraphicsPathData(renderer) wxMacCoreGraphicsPathData::wxMacCoreGraphicsPathData( wxGraphicsRenderer* renderer, CGMutablePathRef path) : wxGraphicsPathData(renderer)
{ {
@@ -1359,13 +1345,9 @@ bool wxMacCoreGraphicsPathData::Contains( wxDouble x, wxDouble y, wxPolygonFillM
return CGPathContainsPoint( m_path, NULL, CGPointMake((CGFloat) x,(CGFloat) y), fillStyle == wxODDEVEN_RULE ); return CGPathContainsPoint( m_path, NULL, CGPointMake((CGFloat) x,(CGFloat) y), fillStyle == wxODDEVEN_RULE );
} }
//
// Graphics Context
//
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// wxMacCoreGraphicsContext declaration // Graphics Context
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxMacCoreGraphicsContext : public wxGraphicsContext class WXDLLEXPORT wxMacCoreGraphicsContext : public wxGraphicsContext
{ {