TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_TEXT_DEFINITIONS_HPP_ 00002 #define _TUTTLE_PLUGIN_TEXT_DEFINITIONS_HPP_ 00003 00004 #include <tuttle/plugin/global.hpp> 00005 00006 namespace tuttle { 00007 namespace plugin { 00008 namespace text { 00009 00010 static const std::string kParamText = "text"; 00011 static const std::string kParamIsExpression = "expression"; 00012 00013 static const std::string kParamFont = "font"; 00014 static const std::string kParamFontPath = "fontFile"; 00015 00016 static const std::string kParamSize = "textSize"; 00017 static const std::string kParamRatio = "ratio"; 00018 static const std::string kParamColor = "color"; 00019 static const std::string kParamBackgroundColor = "backgroundColor"; 00020 static const std::string kParamPosition = "position"; 00021 static const std::string kParamLetterSpacing = "letterSpacing"; 00022 00023 static const std::string kParamVAlign = "vAlign"; 00024 static const std::string kParamVAlignTop = "top"; 00025 static const std::string kParamVAlignCenter = "center"; 00026 static const std::string kParamVAlignBottom = "bottom"; 00027 enum EParamVAlign 00028 { 00029 eParamVAlignTop = 0, 00030 eParamVAlignCenter, 00031 eParamVAlignBottom 00032 }; 00033 static const std::string kParamHAlign = "hAlign"; 00034 static const std::string kParamHAlignLeft = "left"; 00035 static const std::string kParamHAlignCenter = "center"; 00036 static const std::string kParamHAlignRight = "right"; 00037 enum EParamHAlign 00038 { 00039 eParamHAlignLeft = 0, 00040 eParamHAlignCenter, 00041 eParamHAlignRight 00042 }; 00043 00044 static const std::string kParamVerticalFlip = "verticalFlip"; 00045 static const std::string kParamItalic = "italic"; 00046 static const std::string kParamBold = "bold"; 00047 00048 static const std::string kParamFunction = "mergingFunction"; 00049 static const std::string kParamFunctionLabel = "Merging function"; 00050 00051 enum EParamMerge 00052 { 00053 eParamMergeATop, eParamMergeAverage, 00054 eParamMergeColor, 00055 eParamMergeColorBurn, eParamMergeColorDodge, 00056 eParamMergeConjointOver, eParamMergeCopy, 00057 eParamMergeDifference, eParamMergeDisjointOver, 00058 eParamMergeDivide, eParamMergeExclusion, 00059 eParamMergeFreeze, eParamMergeFrom, 00060 eParamMergeGeometric, eParamMergeHardLight, 00061 eParamMergeHypot, eParamMergeIn, 00062 eParamMergeInterpolated, eParamMergeMask, 00063 eParamMergeMatte, eParamMergeLighten, 00064 eParamMergeDarken, eParamMergeMinus, 00065 eParamMergeMultiply, eParamMergeOut, 00066 eParamMergeOver, eParamMergeOverlay, 00067 eParamMergePinLight, eParamMergePlus, 00068 eParamMergeReflect, eParamMergeScreen, 00069 eParamMergeStencil, eParamMergeUnder, 00070 eParamMergeXOR 00071 }; 00072 00073 } 00074 } 00075 } 00076 00077 #endif