Patent ID: 7502028

Claim:
A method of assigning a region fill to a region in a drawing, including: editing the drawing to define a current region; determining context information associated with a plurality of previous regions each having a previous region fill; associating the current region with one of the plurality of previous regions based at least in part on context information associated with the current region and the context information associated with the plurality of previous regions, wherein the current region has a boundary that includes a current path, and the context information associated with the current region includes one or more parameterization values of the current path, and wherein the previous regions have boundaries that include previous paths, and the context information associated with the previous regions includes one or more parameterization values of the previous paths; associating the parameterization values of the current path with one or more intersections of the current path; associating the parameterization values of the previous paths with one or more intersections of the previous paths; computing a match quality, wherein the match quality is determined by a computer, based on the parameterization values of the current path and the parameterization values of the previous path; automatically assigning the previous region fill to the current region; and displaying the current region on a display.