发明名称 Method and apparatus for pixel composition
摘要 The present invention provides a method and apparatus that permits the introduction of customized compositing techniques into an application by a developer. A Composite interface and a CompositeContext interface are defined. Custom compositing operations can be defined by implementing these interfaces. A Composite object provides a CompositeContext object that holds the state and performs the compositing work. Multiple CompositeContext objects can be created from one Composite object to maintain separate states in a multi-threaded environment. An object implementing the Composite interface can be set as rendering state on a graphics object that provides rendering methods. This allows arbitrary compositing rules to be used by a developer. In one implementation of the Composite and CompositeContext interfaces, an AlphaComposite class is defined. The AlphaComposite class implements common compositing rules, such as defined by Porter and Duff, for combining source and destination pixels to achieve blending and transparency effects with graphics and images.
申请公布号 US6034694(A) 申请公布日期 2000.03.07
申请号 US19970884843 申请日期 1997.06.30
申请人 SUN MICROSYSTEMS, INC. 发明人 EVANS, JERALD;GRAHAM, JAMES;NGUYEN, THANH
分类号 G06T3/00;G06T15/50;(IPC1-7):G06T3/00 主分类号 G06T3/00
代理机构 代理人
主权项
地址