1 /* 2 * Copyright 2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #ifndef COMMON_PROPERTY_IDS_H 10 #define COMMON_PROPERTY_IDS_H 11 12 #include <SupportDefs.h> 13 14 enum { 15 PROPERTY_NAME = 'name', 16 17 PROPERTY_OPACITY = 'alpa', 18 PROPERTY_COLOR = 'colr', 19 20 PROPERTY_WIDTH = 'wdth', 21 PROPERTY_HEIGHT = 'hght', 22 23 PROPERTY_CAP_MODE = 'cpmd', 24 PROPERTY_JOIN_MODE = 'jnmd', 25 PROPERTY_MITER_LIMIT = 'mtlm', 26 PROPERTY_STROKE_SHORTEN = 'srtn', 27 28 PROPERTY_CLOSED = 'clsd', 29 PROPERTY_PATH = 'path', 30 31 PROPERTY_HINTING = 'hntg', 32 PROPERTY_MIN_VISIBILITY_SCALE = 'mnld', 33 PROPERTY_MAX_VISIBILITY_SCALE = 'mxld', 34 35 PROPERTY_TRANSLATION_X = 'trnx', 36 PROPERTY_TRANSLATION_Y = 'trny', 37 PROPERTY_ROTATION = 'rotn', 38 PROPERTY_SCALE_X = 'sclx', 39 PROPERTY_SCALE_Y = 'scly', 40 41 PROPERTY_DETECT_ORIENTATION = 'ador', 42 }; 43 44 45 const char* name_for_id(int32 id); 46 47 #endif // COMMON_PROPERTY_IDS_H 48 49 50