public void appendPath(GeneralPath path, BuildHistory hist) { float offx = isRelative ? hist.history[0].x : 0f; float offy = hist.history[0].y; path.lineTo(x + offx, offy); hist.setPoint(x + offx, offy); }
public void appendPath(GeneralPath path, BuildHistory hist) { float offx = isRelative ? hist.history[0].x : 0f; float offy = isRelative ? hist.history[0].y : 0f; path.lineTo(x + offx, y + offy); hist.setPoint(x + offx, y + offy); }
public void appendPath(GeneralPath path, BuildHistory hist) { float offx = hist.history[0].x; float offy = isRelative ? hist.history[0].y : 0f; path.lineTo(offx, y + offy); hist.setPoint(offx, y + offy); }
public void appendPath(GeneralPath path, BuildHistory hist) { path.closePath(); hist.setPoint(hist.start.x, hist.start.y); }
public void appendPath(GeneralPath path, BuildHistory hist) { float offx = isRelative ? hist.history[0].x : 0f; float offy = isRelative ? hist.history[0].y : 0f; arcTo(path, rx, ry, xAxisRot, largeArc, sweep, x + offx, y + offy, hist.history[0].x, hist.history[0].y); // path.lineTo(x + offx, y + offy); hist.setPoint(x + offx, y + offy); }
public void appendPath(GeneralPath path, BuildHistory hist) { float offx = isRelative ? hist.history[0].x : 0f; float offy = isRelative ? hist.history[0].y : 0f; path.moveTo(x + offx, y + offy); hist.setPoint(x + offx, y + offy); hist.setStart(x + offx, y + offy); }