flatfact.h File Reference

(r1785/r751)

Go to the source code of this file.

Enumerations

enum  FlatteningFactor { FF_VERYCLOSELY = 64, FF_CLOSELY = 256, FF_APPROXIMATELY = 1024, FF_NOTATALL = 100000 }
 Use in conjunction with Path::Flatten. More...


Enumeration Type Documentation

enum FlatteningFactor
 

Use in conjunction with Path::Flatten.

Author:
Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com>
Date:
9/4/97
Instead of passing a double to Path::Flatten, you can pass a FlatteningFactor. Passing FF_VERYCLOSELY will flatten the paths a lot, passing FF_APPROXIMATELY will flatten them less, etc.

This is used in Imagemaps, in which it's useful to have four discrete levels of flattening.

Feel free to add intermediate levels of flattening (e.g. add "FF_XXXXCLOSELY = 32") but don't change the values assigned to FF_VERYCLOSELY, FF_CLOSELY, FF_APPROXIMATELY or FF_NOTATALL, or you'll change the way imagemaps save.

Enumerator:
FF_VERYCLOSELY 
FF_CLOSELY 
FF_APPROXIMATELY 
FF_NOTATALL 

Definition at line 126 of file flatfact.h.

00127 {
00128     FF_VERYCLOSELY =64,
00129     FF_CLOSELY =256,
00130     FF_APPROXIMATELY = 1024,
00131     FF_NOTATALL=100000,
00132 } FlatteningFactor;


Generated on Sat Nov 10 03:49:10 2007 for Camelot by  doxygen 1.4.4