home *** CD-ROM | disk | FTP | other *** search
/ ftp.sunet.sepub/pictures / 2014.11.ftp.sunet.se-pictures.tar / ftp.sunet.se / pub / pictures / ACiD-artpacks / programs / unix / editors / gimp-plugins-unstable-0_99_23_tar.gz / gimp-plugins-unstable-0_99_23_tar / gimp-plugins-unstable-0.99.23 / gimptcl / gtclEnums.h < prev    next >
Text File  |  1998-02-20  |  3KB  |  126 lines

  1. /***************************************************
  2.  * file: gtclenums.h
  3.  *
  4.  * Copyright (c) 1996 Eric L. Hernes (erich@rrnet.com)
  5.  * All rights reserved.
  6.  *
  7.  * Redistribution and use in source and binary forms, with or without
  8.  * modification, are permitted provided that the following conditions
  9.  * are met:
  10.  * 1. Redistributions of source code must retain the above copyright
  11.  *    notice, this list of conditions and the following disclaimer.
  12.  * 2. The name of the author may not be used to endorse or promote products
  13.  *    derived from this software withough specific prior written permission
  14.  *
  15.  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  16.  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  17.  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  18.  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  19.  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  20.  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  21.  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  22.  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  23.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  24.  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25.  *
  26.  * $Id: gtclEnums.h,v 1.1 1998/02/20 10:41:03 yosh Exp $
  27.  */
  28.  
  29. /*
  30.  * enums that are needed both by the
  31.  * interface file and at compile time
  32.  */
  33.  
  34. /* bucket fill stuff */
  35. enum {
  36.   FG_BUCKET_FILL,
  37.   BG_BUCKET_FILL,
  38.   PATTERN_BUCKET_FILL
  39. };
  40.  
  41. /* blend stuff */
  42. enum {
  43.   LINEAR,
  44.   BILINEAR,
  45.   RADIAL,
  46.   SQUARE,
  47.   CONICAL_SYMMETRIC,
  48.   CONICAL_ASYMMETRIC,
  49.   SHAPEBURST_ANGULAR,
  50.   SHAPEBURST_SPHERICAL,
  51.   SHAPEBURST_DIMPLED
  52. };
  53. enum {
  54.   FG_BG_RGB,
  55.   FG_BG_HSV,
  56.   FG_TRANS,
  57.   CUSTOM
  58. };
  59.  
  60. /* layer modes */
  61. enum {
  62.   NORMAL       = 0,
  63.   DISSOLVE     = 1,
  64.   BEHIND       = 2,
  65.   MULTIPLY     = 3,
  66.   SCREEN       = 4,
  67.   OVERLAY      = 5,
  68.   DIFFERENCE   = 6,
  69.   ADDITION     = 7,
  70.   SUBTRACT     = 8,
  71.   DARKEN_ONLY  = 9,
  72.   LIGHTEN_ONLY = 10,
  73.   HUE          = 11,
  74.   SATURATION   = 12,
  75.   COLOR        = 13,
  76.   VALUE        = 14
  77. };
  78.  
  79. /* gimp image get components */
  80. enum {
  81.   RED_CHANNEL,
  82.   GREEN_CHANNEL,
  83.   BLUE_CHANNEL,
  84.   GRAY_CHANNEL,
  85.   INDEXED_CHANNEL
  86. };
  87.  
  88. /* layer masks */
  89. enum {
  90.   WHITE_MASK,
  91.   BLACK_MASK,
  92.   ALPHA_MASK
  93. };
  94.  
  95. /* remove layer mask */
  96. enum {
  97.   APPLY,
  98.   DISCARD
  99. };
  100.  
  101. /* types of layer merges */
  102. enum {
  103.   EXPAND_AS_NECESSARY,
  104.   CLIP_TO_IMAGE,
  105.   CLIP_TO_BOTTOM_LAYER
  106. };
  107.  
  108. /* rect_select args */
  109. enum {
  110.   ADD,
  111.   SUB,
  112.   REPLACE
  113. };
  114.  
  115. /* cloning */
  116. enum {
  117.   IMAGE_CLONE,
  118.   PATTERN_CLONE
  119. };
  120.  
  121. /* convolving type */
  122. enum {
  123.   BLUR,
  124.   SHARPEN
  125. };
  126.