Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: rendering ::

unpublished constants group TexturingMode
Usage Restrictions
not published
Description
Enumeration of possible values to spread a texture across a primitive.
Since
OOo 2.0

Constants
NONE Pixel outside the texture area are fully transparent. 
CLAMP Clamp texture coordinate. 
REPEAT Repeat the texture. 
Constants' Details
NONE
const byte NONE =0;
Description
Pixel outside the texture area are fully transparent.

This completely switches off pixel generation outside the texture coordinate range [0,1]. This results in only one instance of the texture generated per textured primitive.

CLAMP
const byte CLAMP =1;
Description
Clamp texture coordinate.

This value clamps the texture coordinates to the range [0,1]. This results in only one instance of the texture generated per textured primitive, with the remaining area filled with the color of the outermost texels

REPEAT
const byte REPEAT =2;
Description
Repeat the texture.

This value repeats the texture over the textured primitive, for the given texture coordinate.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.