public void LineTo(float x1, float y1) { if (_latestPart != null) { currentCnt.AddPart(_latestPart = new GlyphLine(_latestPart, x1, y1)); } else { currentCnt.AddPart(_latestPart = new GlyphLine(curX, curY, x1, y1)); } this.curX = x1; this.curY = y1; }
public void LineTo(float x1, float y1) { if (_latestPart != null) { _currentCnt.AddPart(_latestPart = new GlyphLine(_latestPart, x1, y1)); } else { _currentCnt.AddPart(_latestPart = new GlyphLine(_curX, _curY, x1, y1)); } _curX = x1; _curY = y1; }