User more easily understandable names for the radial gradient coordinate parameters in wxGraphicsPenInfo

This commit is contained in:
Robin Dunn
2019-08-26 20:24:07 -07:00
committed by Robin Dunn
parent 78c1c6ca6d
commit 80f24d9e74
7 changed files with 33 additions and 29 deletions

View File

@@ -996,8 +996,8 @@ wxGDIPlusPenData::wxGDIPlusPenData( wxGraphicsRenderer* renderer,
case wxGRADIENT_RADIAL:
if (m_brush)
delete m_brush;
CreateRadialGradientBrush(info.GetXO(), info.GetYO(),
info.GetXC(), info.GetYC(),
CreateRadialGradientBrush(info.GetStartX(), info.GetStartY(),
info.GetEndX(), info.GetEndY(),
info.GetRadius(),
info.GetStops());
m_pen->SetBrush(m_brush);