conicto(FT_Vector *aControlPt, FT_Vector *aEndPt, void *aClosure)
conicto(nsFT_CONST FT_Vector *aControlPt, nsFT_CONST FT_Vector *aEndPt, void *aClosure)
conicto(FT_Vector *aControlPt, FT_Vector *aEndPt, void *aClosure){  FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;  FT_UShort upm = ftinfo->face->units_per_EM;  double ctl_x, ctl_y;  double cur_x, cur_y, x3, y3;  FT_Vector aControlPt1, aControlPt2;  int rslt;  cur_x = ftinfo->cur_x;  cur_y = ftinfo->cur_y;  ctl_x = toCS(upm, aControlPt->x);  ctl_y = toCS(upm, aControlPt->y);  x3 = toCS(upm, aEndPt->x);  y3 = toCS(upm, aEndPt->y);  // So we can use the cubic curve code convert quadradic to cubic;   // the 1st control point is 2/3 the way from the start to the control point  aControlPt1.x = fromCS(upm, (cur_x + (2 * (ctl_x - cur_x) + 1)/3));  aControlPt1.y = fromCS(upm, (cur_y + (2 * (ctl_y - cur_y) + 1)/3));  // the 2nd control point is 1/3 the way from the control point to the end  aControlPt2.x = fromCS(upm, (ctl_x + (x3 - ctl_x + 1)/3));  aControlPt2.y = fromCS(upm, (ctl_y + (y3 - ctl_y + 1)/3));  // call the cubic code  rslt = cubicto(&aControlPt1, &aControlPt2, aEndPt, aClosure);  return rslt;}