# US 7,743,387 B2 · Inheritance context for graphics primitives

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 7,743,387 B2
- Document ID: US7743387B2
- Status: Granted
- Kind: B2
- Application number: 11/252,374
- Filed: 2005-10-18
- Published: 2007-04-19
- Granted: 2010-06-22
- Earliest claimed: 2005-10-18
- Assignees: Microsoft Corporation
- Inventors: Adam M. Smith; Jeffrey L. Bogdan; Michael J. Hillberg; Namita Gupta
- Web page: https://patentgrep.com/patent/US7743387B2

## CPC

- G06F 9/4492: {Inheritance}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An inheritance context is created for a graphics primitive object that is a property of a visual element. The inheritance context can be used to make some element information (e.g., information in resource dictionaries, name dictionaries, and inheritable properties that reside in the element tree containing the visual element) available to the graphics primitive object.

## Claims

### Claim 1

A computer-implemented method for creating an inheritance context for a graphics primitive, the method comprising:
creating a visual element;
creating a graphics primitive object as a property of the visual element; wherein the visual element is implemented using the graphics primitive object; and
setting the visual element as the inheritance context of the graphics primitive object such that the graphics primitive object can access the visual element and any parent of the visual element.

### Claim 2 (depends on 1)

The method of claim 1 wherein setting the visual element as the inheritance context comprises providing to the graphics primitive object a pointer that points to the visual element.

### Claim 3 (depends on 1)

The method of claim 1 wherein the inheritance context is used to make element information available to the graphics primitive object.

### Claim 4 (depends on 3)

The method of claim 3 wherein at least some of the element information is included in a name dictionary of an element in an element tree containing the visual element.

### Claim 5 (depends on 3)

The method of claim 3 wherein at least some of the element information is included in a resource dictionary of an element in an element tree containing the visual element.

### Claim 6 (depends on 3)

The method of claim 3 wherein at least some of the element information is an inheritable property of an element in an element tree containing the visual element.

### Claim 7 (depends on 1)

The method of claim 1 wherein the graphics primitive object is not shared with another visual element.

### Claim 8 (depends on 1)

One or more computer-readable storage media having stored thereon instructions that when executed by a computer implement the method of claim 1.

### Claim 9

A system for creating an inheritance context for a graphics primitive, the system comprising:
a property system to store an element tree and values for properties of visual elements of the element tree;
a graphics subsystem to provide data used to display the visual elements via a display device; and
a component to create a visual element having a graphics primitive object as a property, wherein the visual element is implemented using the graphics primitive object, wherein the visual element is set as the inheritance context of the graphics primitive object.

### Claim 10 (depends on 9)

The system of claim 9 wherein the inheritance context comprises a pointer that points to the visual element.

### Claim 11 (depends on 9)

The system of claim 9 wherein the inheritance context is used to make element information available to the graphics primitive object.

### Claim 12 (depends on 11)

The system of claim 11 wherein at least some of the element information is included in a name dictionary of an element in the element tree containing the visual element.

### Claim 13 (depends on 11)

The system of claim 11 wherein at least some of the element information is included in a resource dictionary of an element in the element tree containing the visual element.

### Claim 14 (depends on 11)

The system of claim 11 at least some of the element information is an inheritable property of an element in the element tree containing the visual element.

### Claim 15 (depends on 9)

One or more computer-readable storage media having stored thereon instructions that when executed by a computer implement the system of claim 9.

### Claim 16

A computer-implemented method for creating an inheritance context for a graphics primitive, the method comprising:
creating a first visual element;
creating a second visual element as a property of the first visual element; wherein the first visual element is implemented using the second visual element; and
setting the first visual element as the inheritance context of the second visual element.

### Claim 17 (depends on 16)

The method of claim 16 wherein setting the first visual element as the inheritance context comprises providing to the second visual element a pointer that points to the first visual element.

### Claim 18 (depends on 16)

The method of claim 16 wherein the inheritance context is used to make element information available to the second visual element.

### Claim 19 (depends on 18)

The method of claim 18 wherein at least some of the element information is included in a name dictionary of an element in an element tree containing the first visual element.

### Claim 20 (depends on 18)

The method of claim 18 wherein at least some of the element information is included in a resource dictionary of an element in an element tree containing the first visual element.
