Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 175640
Collapse All | Expand All

(-)wxsvg-1.0b7-orig/src/freetype/SVGCanvasTextFreetype.cpp (-5 / +5 lines)
Lines 163-169 Link Here
163
  }
163
  }
164
}
164
}
165
165
166
static gint moveto(FT_Vector* to, gpointer data)
166
static gint moveto(const FT_Vector* to, gpointer data)
167
{
167
{
168
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
168
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
169
  
169
  
Lines 179-185 Link Here
179
  return 0;
179
  return 0;
180
}
180
}
181
181
182
static gint lineto (FT_Vector* to, gpointer data)
182
static gint lineto (const FT_Vector* to, gpointer data)
183
{
183
{
184
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
184
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
185
  if (!canvasText->m_endpath)
185
  if (!canvasText->m_endpath)
Lines 192-198 Link Here
192
  return 0;
192
  return 0;
193
}
193
}
194
194
195
static gint conicto(FT_Vector* ftcontrol, FT_Vector* to, gpointer data)
195
static gint conicto(const FT_Vector* ftcontrol, const FT_Vector* to, gpointer data)
196
{
196
{
197
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
197
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
198
  if (!canvasText->m_endpath)
198
  if (!canvasText->m_endpath)
Lines 207-214 Link Here
207
  return 0;
207
  return 0;
208
}
208
}
209
209
210
static gint cubicto(FT_Vector* ftcontrol1, FT_Vector* ftcontrol2,
210
static gint cubicto(const FT_Vector* ftcontrol1, const FT_Vector* ftcontrol2,
211
 FT_Vector* to, gpointer data)
211
 const FT_Vector* to, gpointer data)
212
{
212
{
213
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
213
  wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data;
214
  if (!canvasText->m_endpath)
214
  if (!canvasText->m_endpath)

Return to bug 175640