摘要:
Hardware acceleration of the rending and animation of characters that treat each pixel sub-component as a distinct luminance intensity source. A bit-map representation of the sub-component-oriented character is generated by using a single image sample to generate each pixel sub-component. This may be accomplished by, for example overscaling a representation of the character, placing the overscaled representation of the character on grid, and then assigning a luminance and possibly a transparency value to each grid position based on the property of the overscaled character at the grid position. The, the character is rendered by interfacing with a hardware graphic unit that perform the final rendering and animation of the character.
摘要:
Various technologies and techniques are disclosed for improving output rendering in anti-aliased rendering scenarios. Relative guidelines are used to improve output rendering in certain anti-aliased rendering scenarios. The system receives information regarding at least one visual element area which is important for symmetric appearance, with at least two guideline pairs included in the information. These pairs of relative guidelines represent gaps between edges of elements for which gaps should be preserved. A guideline snapping procedure is performed for each relative guideline to generate a snapping displacement for each relative guideline. The snapping displacements are provided as inputs to a pixel snapping procedure that snaps the points of the visual element to create an adjusted image. The adjusted image is then rendered on a display device in an anti-aliased rendering scenario. Equal sizes of gaps between neighboring elements can be preserved when these gaps are defined equal by a client.
摘要:
Various technologies and techniques are disclosed for improving output rendering in anti-aliased rendering scenarios. Relative guidelines are used to improve output rendering in certain anti-aliased rendering scenarios. The system receives information regarding at least one visual element area which is important for symmetric appearance, with at least two guideline pairs included in the information. These pairs of relative guidelines represent gaps between edges of elements for which gaps should be preserved. A guideline snapping procedure is performed for each relative guideline to generate a snapping displacement for each relative guideline. The snapping displacements are provided as inputs to a pixel snapping procedure that snaps the points of the visual element to create an adjusted image. The adjusted image is then rendered on a display device in an anti-aliased rendering scenario. Equal sizes of gaps between neighboring elements can be preserved when these gaps are defined equal by a client.
摘要:
The blending coefficients (alpha values) of font glyphs undergo alpha correction to compensate for a lack of gamma correction in text rendering processes. The alpha correction includes selecting a set of correction coefficients that correspond to the predetermined gamma value of the display device and computing corrected alpha values from the known alpha values, the foreground colors, and set of correction coefficients. The corrected alpha values can then be used to blend the foreground and background colors of the corresponding display pixels without requiring gamma correction. Accordingly, the alpha correction can be performed by a GPU, which is not configured to perform gamma correction, thereby increasing the speed at which text rendering can occur.
摘要:
Various technologies and techniques are disclosed for improving output rendering in anti-aliased rendering scenarios. A pixel snapping mode of operation is turned on and off to improve output rendering. When the system detects that an animation has started, the pixel snapping mode is turned off, and when the system detects that the animation has stopped, the pixel snapping mode is resumed. Techniques for providing a smooth transition can be used when turning pixel snapping on. One example of a transition technique includes turning off pixel snapping when an animation begins by immediately lowering the strength of an effect of the pixel snapping mode to zero. Another example includes turning on pixel snapping when the animation finishes by raising the strength of the effect of the pixel snapping mode over a period of time until the strength is full strength.
摘要:
The blending coefficients (alpha values) of font glyphs undergo alpha correction to compensate for a lack of gamma correction in text rendering processes. The alpha correction includes selecting a set of correction coefficients that correspond to the predetermined gamma value of the display device and computing corrected alpha values from the known alpha values, the foreground colors, and set of correction coefficients. The corrected alpha values can then be used to blend the foreground and background colors of the corresponding display pixels without requiring gamma correction. Accordingly, the alpha correction can be performed by a GPU, which is not configured to perform gamma correction, thereby increasing the speed at which text rendering can occur.
摘要:
The blending coefficients (alpha values) of font glyphs undergo alpha correction to compensate for a lack of gamma correction in text rendering processes. The alpha correction includes selecting a set of correction coefficients that correspond to the predetermined gamma value of the display device and computing corrected alpha values from the known alpha values, the foreground colors, and set of correction coefficients. The corrected alpha values can then be used to blend the foreground and background colors of the corresponding display pixels without requiring gamma correction. Accordingly, the alpha correction can be performed by a GPU, which is not configured to perform gamma correction, thereby increasing the speed at which text rendering can occur.
摘要:
Various technologies and techniques are disclosed for improving output rendering in anti-aliased rendering scenarios. The system receives information regarding at least one visual element area which is important for symmetric appearance. The information can include at least one coordinate of a guideline that a client would like to be snapped towards a pixel grid. The system uses the information to perform a pixel snapping procedure to snap the points of visual element to a pixel grid to create an adjusted image. The adjusted image is rendered on a display device in an anti-aliased rendering scenario. APIs are provided for setting horizontal and vertical pixel snapping guidelines. The collections containing the snapping guidelines are accessed and used during the pixel snapping procedure.
摘要:
Various technologies and techniques are disclosed for improving output rendering in anti-aliased rendering scenarios. A pixel snapping mode of operation is turned on and off to improve output rendering. When the system detects that an animation has started, the pixel snapping mode is turned off, and when the system detects that the animation has stopped, the pixel snapping mode is resumed. Techniques for providing a smooth transition can be used when turning pixel snapping on. One example of a transition technique includes turning off pixel snapping when an animation begins by immediately lowering the strength of an effect of the pixel snapping mode to zero. Another example includes turning on pixel snapping when the animation finishes by raising the strength of the effect of the pixel snapping mode over a period of time until the strength is full strength.
摘要:
Various technologies and techniques are disclosed for improving output rendering in anti-aliased rendering scenarios. The system receives information regarding at least one visual element area which is important for symmetric appearance. The information can include at least one coordinate of a guideline that a client would like to be snapped towards a pixel grid. The system uses the information to perform a pixel snapping procedure to snap the points of visual element to a pixel grid to create an adjusted image. The adjusted image is rendered on a display device in an anti-aliased rendering scenario. APIs are provided for setting horizontal and vertical pixel snapping guidelines. The collections containing the snapping guidelines are accessed and used during the pixel snapping procedure.