(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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.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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.