Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

enum FillRule
Description
Determines which algorithm to use when determining inside and outside of filled poly-polygons.
Since
OOo 2.0

Values
NON_ZERO Fill every area, where, when travelling along a line, the summed winding number (that is, -1 for a counter-clockwise-oriented polygon, and +1 for a clockwise-oriented) is non-zero. 
EVEN_ODD Fill every area, where, when travelling along a line, an uneven number of intersections with polygon edges have happened. 
Values' Details
NON_ZERO
NON_ZERO,
Description
Fill every area, where, when travelling along a line, the summed winding number (that is, -1 for a counter-clockwise-oriented polygon, and +1 for a clockwise-oriented) is non-zero.

For example, a poly-polygon consisting of two concentric circles with similar orientation is filled the same way as if only the outer circle would exist. If both have opposite orientation, then the filled representation looks the same as if filled with the EVEN_ODD fill rule.

EVEN_ODD
EVEN_ODD,
Description
Fill every area, where, when travelling along a line, an uneven number of intersections with polygon edges have happened.

Top of Page

Apache Software Foundation

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

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.