:: com :: sun :: star :: rendering ::
|
interface XParametricPolyPolygon2D |
|
- Description
- Interface to a dynamic poly-polygon generator, that generates
poly-polygons depending on a given parameter value.
The returned poly-polygon should normally be contained in the
[0,1]x[0,1] rectangle. At least that is the dimension expected at
other places. e.g. Texture.
|
Methods' Summary |
getOutline |
Query the polygonal outline at the specified value.
The returned outline should be clipped to the [0,1]x[0,1]
rectangle.
|
getColor |
Query the color value for the polygonal area at the specified
parameter value.
|
getPointColor |
Query the color for a dedicated point in the plane.
|
getColorSpace |
Query the color space employed by this object
|
Methods' Details |
getOutline
- Description
- Query the polygonal outline at the specified value.
The returned outline should be clipped to the [0,1]x[0,1]
rectangle.
- Parameter t
- Parameter value in the range [0,1]. During painting, this
range is sweeped through starting from 0. When using such a
parametric polypolygon for gradients, the area covered by the
returned XPolyPolygon2D should be monotonically decreasing
with t (unless singularities in e.g. the resulting gradient
are desired).
|
|
getColor
- Description
- Query the color value for the polygonal area at the specified
parameter value.
- Parameter t
- Parameter value in the range [0,1]. During painting, this
range is swept through starting from 0.
|
|
getPointColor
- Description
- Query the color for a dedicated point in the plane.
- Parameter point
- The permissible parameter range for point is [0,1]x[0,1]
|
|
getColorSpace
- Description
- Query the color space employed by this object
- Returns
- the color space the colors generated by this object
are to be interpreted in.
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.