1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef _XENUM_HXX 25 #define _XENUM_HXX 26 27 enum XLineStyle { XLINE_NONE, XLINE_SOLID, XLINE_DASH }; 28 enum XLineJoint 29 { 30 XLINEJOINT_NONE, // no rounding 31 XLINEJOINT_MIDDLE, // calc middle value between joints 32 XLINEJOINT_BEVEL, // join edges with line 33 XLINEJOINT_MITER, // extend till cut 34 XLINEJOINT_ROUND // create arc 35 }; 36 enum XDashStyle { XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, 37 XDASH_ROUNDRELATIVE }; 38 enum XFillStyle { XFILL_NONE, XFILL_SOLID, XFILL_GRADIENT, XFILL_HATCH, 39 XFILL_BITMAP }; 40 enum XGradientStyle { XGRAD_LINEAR, XGRAD_AXIAL, XGRAD_RADIAL, 41 XGRAD_ELLIPTICAL, XGRAD_SQUARE, XGRAD_RECT }; 42 enum XHatchStyle { XHATCH_SINGLE, XHATCH_DOUBLE, XHATCH_TRIPLE }; 43 enum XFormTextStyle { XFT_ROTATE, XFT_UPRIGHT, XFT_SLANTX, XFT_SLANTY, 44 XFT_NONE }; 45 enum XFormTextAdjust { XFT_LEFT, XFT_RIGHT, XFT_AUTOSIZE, XFT_CENTER }; 46 enum XFormTextShadow { XFTSHADOW_NONE, XFTSHADOW_NORMAL, XFTSHADOW_SLANT}; 47 enum XFormTextStdForm { XFTFORM_NONE = 0, XFTFORM_TOPCIRC, XFTFORM_BOTCIRC, 48 XFTFORM_LFTCIRC, XFTFORM_RGTCIRC, XFTFORM_TOPARC, 49 XFTFORM_BOTARC, XFTFORM_LFTARC, XFTFORM_RGTARC, 50 XFTFORM_BUTTON1, XFTFORM_BUTTON2, 51 XFTFORM_BUTTON3, XFTFORM_BUTTON4}; 52 enum XBitmapStyle { XBITMAP_TILE, XBITMAP_STRETCH }; 53 enum XBitmapType { XBITMAP_IMPORT, XBITMAP_8X8, XBITMAP_NONE, 54 XBITMAP_16X16 }; 55 56 57 #endif // _XENUM_HXX 58 59