摘要 |
Methods and systems are provided for generating, rendering, manipulating (e.g., slicing), and communicating stroke objects that form ink data. A method of generating a stroke object to form ink data includes generally two steps. First, pen event data indicative of pen down, pen movement, and pen up events are sequentially received to generate point objects that collectively form a stroke object. The point objects serve as control points for interpolating curve segments according to a defined curve interpolation algorithm. Second, two parameters, which define a range within the stroke object to be displayed when the stroke object is rendered, are generated as attributes of the stroke object. When rendering the generated stroke object, a system limits display of the stroke object to the range indicated by the two parameters, as opposed to displaying the stroke object as a whole. |