Ink editing architecture
View Patent ↗A system and process for capturing and rendering ink is described. An ink canvas object may contain none, one, or more objects or elements and may specify the z-order of the objects or elements. The ink canvas object may host a variety of objects or elements and, therefore, provide ink functionality to the objects or elements, even though the objects or elements themselves may not have ink functionality.
1. A process for determining overlap between a selection region and an object comprising the step of:
receiving said selection region;
determining a bounding area of said object;
adding points to said bounding area;
determining a ratio of points of the bounding area of the object within said selection region to the points of the bounding area; and
comparing the ratio to a threshold and assigning the object to a list of objects located within the selection region when the ratio is greater than or equal to the threshold and not assigning the object to the list of objects within the selection region when the ratio is less than the threshold.
2. The process according to claim 1 , said points being randomly placed in said bounding area.
3. The process according to claim 1 , said points being placed in a pattern in said bounding area.
4. The process according to claim 1 , said points being placed on lines within said bounding area.
5. The process according to claim 1 , the density of points added to said bounding area being inversely proportional to the size of the object.