发明名称 |
ALIGNMENT OF START AND END OF DASHED CURVES |
摘要 |
Disclosed is a computer-implemented method of vectorizing a curve. The method determines a reference point distanced from the curve and a first point on the curve associated with the reference point, and a line running through the reference point from a tangent to the curve at the first point, where the line and tangent are parallel. A shift point is then determined on the determined line, and the curve is vectorized by a path formed from a plurality of linear segments, the plurality of segments comprising at least a segment joining the reference point and the shift point. From the vectorization of the curve the curve can be rendered, particularly using dashed strokes. |
申请公布号 |
US2015063706(A1) |
申请公布日期 |
2015.03.05 |
申请号 |
US201414468884 |
申请日期 |
2014.08.26 |
申请人 |
CANON KABUSHIKI KAISHA |
发明人 |
LAMPINEN Ari Pekka;Soulard Hervé |
分类号 |
G06K9/64;G06K9/00 |
主分类号 |
G06K9/64 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer-implemented method of processing a curve intended to be dashed and stroked, the method comprising:
obtaining a first vectorization of the curve according to a predetermined flatness tolerance to establish at least one initial linear segment between corresponding vectorization points; identifying an endpoint of a dash on one said initial linear segment as a reference point; establishing a tangent to the curve at a first point on the curve associated with the reference point; determining, in accordance with the pre-determined vectorization flatness tolerance, by a processor, a shift point on a line running through the reference point, said line being parallel to the tangent to the curve at the first point and the shift point being within the dash; and determining a dashed vectorization of the curve having at least one path, each said path being formed from a plurality of further linear segments, the further linear segments comprising at least a first further segment joining the reference point and the shift point, and a second further segment joining the shift point and a further point determined using at least a length of the dash. |
地址 |
Tokyo JP |