Various typo and coding style fixes

This commit is contained in:
Robin Dunn
2019-09-05 13:33:15 -07:00
parent 1afb4afe25
commit a8a19e25ee
8 changed files with 53 additions and 50 deletions

View File

@@ -588,7 +588,7 @@ wxMacCoreGraphicsPenBrushDataBase::CreateLinearGradientShading(
CGPointMake((CGFloat) x2, (CGFloat) y2),
m_gradientFunction, true, true );
m_isShading = true;
if (! matrix.IsNull() )
if ( !matrix.IsNull() )
{
m_shadingMatrix = (wxMacCoreGraphicsMatrixData*)((wxMacCoreGraphicsMatrixData*)matrix.GetRefData())->Clone();
m_shadingMatrix->Invert();
@@ -609,7 +609,7 @@ wxMacCoreGraphicsPenBrushDataBase::CreateRadialGradientShading(
CGPointMake((CGFloat) endX, (CGFloat) endY), (CGFloat) radius,
m_gradientFunction, true, true );
m_isShading = true;
if (! matrix.IsNull() )
if ( !matrix.IsNull() )
{
m_shadingMatrix = (wxMacCoreGraphicsMatrixData*)((wxMacCoreGraphicsMatrixData*)matrix.GetRefData())->Clone();
m_shadingMatrix->Invert();