Patent ID: 7774722

Claim:
A computer-readable storage medium having stored thereon a set of instructions which when executed performs a method for creating and manipulating a presented canvas based on an ink stroke, the method executed by the set of instructions comprising: detecting the ink stroke; recording the ink stroke; growing the presented canvas to cover the ink stroke, when the ink stroke is outside the presented canvas and not in a command area; determining a command to be executed and executing the command, when the ink stroke is in the command area; and when the ink stroke is in a typed text area, inserting a new canvas based on a location of the ink stroke and a size of the ink stroke, wherein inserting the new canvas based on the location of the ink stroke and the size of the ink stroke comprises: when an insertion point associated with the ink stroke is on one of two lines, determining which of the two lines to separate based on the location of the ink stroke and a location of the insertion point associated with the ink stroke relative to a line center, and separating the two lines based on the size of the ink stroke.