845 lines
31 KiB
Perl
845 lines
31 KiB
Perl
# PIKA - Photo and Image Kooker Application
|
|
# Copyright (C) 1999-2003 Manish Singh <yosh@gimp.org>
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUTFILE ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
# autogenerated by enumgen.pl
|
|
|
|
package Pika::CodeGen::enums;
|
|
|
|
%enums = (
|
|
GeglDistanceMetric =>
|
|
{ contig => 1,
|
|
external => 1,
|
|
symbols => [ qw(GEGL_DISTANCE_METRIC_EUCLIDEAN
|
|
GEGL_DISTANCE_METRIC_MANHATTAN
|
|
GEGL_DISTANCE_METRIC_CHEBYSHEV) ],
|
|
mapping => { GEGL_DISTANCE_METRIC_EUCLIDEAN => '0',
|
|
GEGL_DISTANCE_METRIC_MANHATTAN => '1',
|
|
GEGL_DISTANCE_METRIC_CHEBYSHEV => '2' }
|
|
},
|
|
PikaAddMaskType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_ADD_MASK_WHITE PIKA_ADD_MASK_BLACK
|
|
PIKA_ADD_MASK_ALPHA PIKA_ADD_MASK_ALPHA_TRANSFER
|
|
PIKA_ADD_MASK_SELECTION PIKA_ADD_MASK_COPY
|
|
PIKA_ADD_MASK_CHANNEL) ],
|
|
mapping => { PIKA_ADD_MASK_WHITE => '0',
|
|
PIKA_ADD_MASK_BLACK => '1',
|
|
PIKA_ADD_MASK_ALPHA => '2',
|
|
PIKA_ADD_MASK_ALPHA_TRANSFER => '3',
|
|
PIKA_ADD_MASK_SELECTION => '4',
|
|
PIKA_ADD_MASK_COPY => '5',
|
|
PIKA_ADD_MASK_CHANNEL => '6' }
|
|
},
|
|
PikaBrushGeneratedShape =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_BRUSH_GENERATED_CIRCLE
|
|
PIKA_BRUSH_GENERATED_SQUARE
|
|
PIKA_BRUSH_GENERATED_DIAMOND) ],
|
|
mapping => { PIKA_BRUSH_GENERATED_CIRCLE => '0',
|
|
PIKA_BRUSH_GENERATED_SQUARE => '1',
|
|
PIKA_BRUSH_GENERATED_DIAMOND => '2' }
|
|
},
|
|
PikaCapStyle =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_CAP_BUTT PIKA_CAP_ROUND PIKA_CAP_SQUARE) ],
|
|
mapping => { PIKA_CAP_BUTT => '0',
|
|
PIKA_CAP_ROUND => '1',
|
|
PIKA_CAP_SQUARE => '2' }
|
|
},
|
|
PikaChannelOps =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_CHANNEL_OP_ADD PIKA_CHANNEL_OP_SUBTRACT
|
|
PIKA_CHANNEL_OP_REPLACE PIKA_CHANNEL_OP_INTERSECT) ],
|
|
mapping => { PIKA_CHANNEL_OP_ADD => '0',
|
|
PIKA_CHANNEL_OP_SUBTRACT => '1',
|
|
PIKA_CHANNEL_OP_REPLACE => '2',
|
|
PIKA_CHANNEL_OP_INTERSECT => '3' }
|
|
},
|
|
PikaChannelType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_CHANNEL_RED PIKA_CHANNEL_GREEN
|
|
PIKA_CHANNEL_BLUE PIKA_CHANNEL_GRAY
|
|
PIKA_CHANNEL_INDEXED PIKA_CHANNEL_ALPHA) ],
|
|
mapping => { PIKA_CHANNEL_RED => '0',
|
|
PIKA_CHANNEL_GREEN => '1',
|
|
PIKA_CHANNEL_BLUE => '2',
|
|
PIKA_CHANNEL_GRAY => '3',
|
|
PIKA_CHANNEL_INDEXED => '4',
|
|
PIKA_CHANNEL_ALPHA => '5' }
|
|
},
|
|
PikaCloneType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_CLONE_IMAGE PIKA_CLONE_PATTERN) ],
|
|
mapping => { PIKA_CLONE_IMAGE => '0',
|
|
PIKA_CLONE_PATTERN => '1' }
|
|
},
|
|
PikaColorTag =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_COLOR_TAG_NONE PIKA_COLOR_TAG_BLUE
|
|
PIKA_COLOR_TAG_GREEN PIKA_COLOR_TAG_YELLOW
|
|
PIKA_COLOR_TAG_ORANGE PIKA_COLOR_TAG_BROWN
|
|
PIKA_COLOR_TAG_RED PIKA_COLOR_TAG_VIOLET
|
|
PIKA_COLOR_TAG_GRAY) ],
|
|
mapping => { PIKA_COLOR_TAG_NONE => '0',
|
|
PIKA_COLOR_TAG_BLUE => '1',
|
|
PIKA_COLOR_TAG_GREEN => '2',
|
|
PIKA_COLOR_TAG_YELLOW => '3',
|
|
PIKA_COLOR_TAG_ORANGE => '4',
|
|
PIKA_COLOR_TAG_BROWN => '5',
|
|
PIKA_COLOR_TAG_RED => '6',
|
|
PIKA_COLOR_TAG_VIOLET => '7',
|
|
PIKA_COLOR_TAG_GRAY => '8' }
|
|
},
|
|
PikaComponentType =>
|
|
{ contig => 0,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_COMPONENT_TYPE_U8 PIKA_COMPONENT_TYPE_U16
|
|
PIKA_COMPONENT_TYPE_U32 PIKA_COMPONENT_TYPE_HALF
|
|
PIKA_COMPONENT_TYPE_FLOAT
|
|
PIKA_COMPONENT_TYPE_DOUBLE) ],
|
|
mapping => { PIKA_COMPONENT_TYPE_U8 => '100',
|
|
PIKA_COMPONENT_TYPE_U16 => '200',
|
|
PIKA_COMPONENT_TYPE_U32 => '300',
|
|
PIKA_COMPONENT_TYPE_HALF => '500',
|
|
PIKA_COMPONENT_TYPE_FLOAT => '600',
|
|
PIKA_COMPONENT_TYPE_DOUBLE => '700' }
|
|
},
|
|
PikaConvertPaletteType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_CONVERT_PALETTE_GENERATE
|
|
PIKA_CONVERT_PALETTE_WEB PIKA_CONVERT_PALETTE_MONO
|
|
PIKA_CONVERT_PALETTE_CUSTOM) ],
|
|
mapping => { PIKA_CONVERT_PALETTE_GENERATE => '0',
|
|
PIKA_CONVERT_PALETTE_WEB => '1',
|
|
PIKA_CONVERT_PALETTE_MONO => '2',
|
|
PIKA_CONVERT_PALETTE_CUSTOM => '3' }
|
|
},
|
|
PikaConvolveType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_CONVOLVE_BLUR PIKA_CONVOLVE_SHARPEN) ],
|
|
mapping => { PIKA_CONVOLVE_BLUR => '0',
|
|
PIKA_CONVOLVE_SHARPEN => '1' }
|
|
},
|
|
PikaDesaturateMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_DESATURATE_LIGHTNESS PIKA_DESATURATE_LUMA
|
|
PIKA_DESATURATE_AVERAGE PIKA_DESATURATE_LUMINANCE
|
|
PIKA_DESATURATE_VALUE) ],
|
|
mapping => { PIKA_DESATURATE_LIGHTNESS => '0',
|
|
PIKA_DESATURATE_LUMA => '1',
|
|
PIKA_DESATURATE_AVERAGE => '2',
|
|
PIKA_DESATURATE_LUMINANCE => '3',
|
|
PIKA_DESATURATE_VALUE => '4' }
|
|
},
|
|
PikaDodgeBurnType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_DODGE_BURN_TYPE_DODGE
|
|
PIKA_DODGE_BURN_TYPE_BURN) ],
|
|
mapping => { PIKA_DODGE_BURN_TYPE_DODGE => '0',
|
|
PIKA_DODGE_BURN_TYPE_BURN => '1' }
|
|
},
|
|
PikaFillType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_FILL_FOREGROUND PIKA_FILL_BACKGROUND
|
|
PIKA_FILL_CIELAB_MIDDLE_GRAY PIKA_FILL_WHITE
|
|
PIKA_FILL_TRANSPARENT PIKA_FILL_PATTERN) ],
|
|
mapping => { PIKA_FILL_FOREGROUND => '0',
|
|
PIKA_FILL_BACKGROUND => '1',
|
|
PIKA_FILL_CIELAB_MIDDLE_GRAY => '2',
|
|
PIKA_FILL_WHITE => '3',
|
|
PIKA_FILL_TRANSPARENT => '4',
|
|
PIKA_FILL_PATTERN => '5' }
|
|
},
|
|
PikaForegroundExtractMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_FOREGROUND_EXTRACT_MATTING) ],
|
|
mapping => { PIKA_FOREGROUND_EXTRACT_MATTING => '0' }
|
|
},
|
|
PikaGradientBlendColorSpace =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_GRADIENT_BLEND_RGB_PERCEPTUAL
|
|
PIKA_GRADIENT_BLEND_RGB_LINEAR
|
|
PIKA_GRADIENT_BLEND_CIE_LAB) ],
|
|
mapping => { PIKA_GRADIENT_BLEND_RGB_PERCEPTUAL => '0',
|
|
PIKA_GRADIENT_BLEND_RGB_LINEAR => '1',
|
|
PIKA_GRADIENT_BLEND_CIE_LAB => '2' }
|
|
},
|
|
PikaGradientSegmentColor =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_GRADIENT_SEGMENT_RGB
|
|
PIKA_GRADIENT_SEGMENT_HSV_CCW
|
|
PIKA_GRADIENT_SEGMENT_HSV_CW) ],
|
|
mapping => { PIKA_GRADIENT_SEGMENT_RGB => '0',
|
|
PIKA_GRADIENT_SEGMENT_HSV_CCW => '1',
|
|
PIKA_GRADIENT_SEGMENT_HSV_CW => '2' }
|
|
},
|
|
PikaGradientSegmentType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_GRADIENT_SEGMENT_LINEAR
|
|
PIKA_GRADIENT_SEGMENT_CURVED
|
|
PIKA_GRADIENT_SEGMENT_SINE
|
|
PIKA_GRADIENT_SEGMENT_SPHERE_INCREASING
|
|
PIKA_GRADIENT_SEGMENT_SPHERE_DECREASING
|
|
PIKA_GRADIENT_SEGMENT_STEP) ],
|
|
mapping => { PIKA_GRADIENT_SEGMENT_LINEAR => '0',
|
|
PIKA_GRADIENT_SEGMENT_CURVED => '1',
|
|
PIKA_GRADIENT_SEGMENT_SINE => '2',
|
|
PIKA_GRADIENT_SEGMENT_SPHERE_INCREASING => '3',
|
|
PIKA_GRADIENT_SEGMENT_SPHERE_DECREASING => '4',
|
|
PIKA_GRADIENT_SEGMENT_STEP => '5' }
|
|
},
|
|
PikaGradientType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_GRADIENT_LINEAR PIKA_GRADIENT_BILINEAR
|
|
PIKA_GRADIENT_RADIAL PIKA_GRADIENT_SQUARE
|
|
PIKA_GRADIENT_CONICAL_SYMMETRIC
|
|
PIKA_GRADIENT_CONICAL_ASYMMETRIC
|
|
PIKA_GRADIENT_SHAPEBURST_ANGULAR
|
|
PIKA_GRADIENT_SHAPEBURST_SPHERICAL
|
|
PIKA_GRADIENT_SHAPEBURST_DIMPLED
|
|
PIKA_GRADIENT_SPIRAL_CLOCKWISE
|
|
PIKA_GRADIENT_SPIRAL_ANTICLOCKWISE) ],
|
|
mapping => { PIKA_GRADIENT_LINEAR => '0',
|
|
PIKA_GRADIENT_BILINEAR => '1',
|
|
PIKA_GRADIENT_RADIAL => '2',
|
|
PIKA_GRADIENT_SQUARE => '3',
|
|
PIKA_GRADIENT_CONICAL_SYMMETRIC => '4',
|
|
PIKA_GRADIENT_CONICAL_ASYMMETRIC => '5',
|
|
PIKA_GRADIENT_SHAPEBURST_ANGULAR => '6',
|
|
PIKA_GRADIENT_SHAPEBURST_SPHERICAL => '7',
|
|
PIKA_GRADIENT_SHAPEBURST_DIMPLED => '8',
|
|
PIKA_GRADIENT_SPIRAL_CLOCKWISE => '9',
|
|
PIKA_GRADIENT_SPIRAL_ANTICLOCKWISE => '10' }
|
|
},
|
|
PikaGridStyle =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_GRID_DOTS PIKA_GRID_INTERSECTIONS
|
|
PIKA_GRID_ON_OFF_DASH PIKA_GRID_DOUBLE_DASH
|
|
PIKA_GRID_SOLID) ],
|
|
mapping => { PIKA_GRID_DOTS => '0',
|
|
PIKA_GRID_INTERSECTIONS => '1',
|
|
PIKA_GRID_ON_OFF_DASH => '2',
|
|
PIKA_GRID_DOUBLE_DASH => '3',
|
|
PIKA_GRID_SOLID => '4' }
|
|
},
|
|
PikaHueRange =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_HUE_RANGE_ALL PIKA_HUE_RANGE_RED
|
|
PIKA_HUE_RANGE_YELLOW PIKA_HUE_RANGE_GREEN
|
|
PIKA_HUE_RANGE_CYAN PIKA_HUE_RANGE_BLUE
|
|
PIKA_HUE_RANGE_MAGENTA) ],
|
|
mapping => { PIKA_HUE_RANGE_ALL => '0',
|
|
PIKA_HUE_RANGE_RED => '1',
|
|
PIKA_HUE_RANGE_YELLOW => '2',
|
|
PIKA_HUE_RANGE_GREEN => '3',
|
|
PIKA_HUE_RANGE_CYAN => '4',
|
|
PIKA_HUE_RANGE_BLUE => '5',
|
|
PIKA_HUE_RANGE_MAGENTA => '6' }
|
|
},
|
|
PikaIconType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_ICON_TYPE_ICON_NAME PIKA_ICON_TYPE_PIXBUF
|
|
PIKA_ICON_TYPE_IMAGE_FILE) ],
|
|
mapping => { PIKA_ICON_TYPE_ICON_NAME => '0',
|
|
PIKA_ICON_TYPE_PIXBUF => '1',
|
|
PIKA_ICON_TYPE_IMAGE_FILE => '2' }
|
|
},
|
|
PikaImageBaseType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_RGB PIKA_GRAY PIKA_INDEXED) ],
|
|
mapping => { PIKA_RGB => '0',
|
|
PIKA_GRAY => '1',
|
|
PIKA_INDEXED => '2' }
|
|
},
|
|
PikaImageType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_RGB_IMAGE PIKA_RGBA_IMAGE PIKA_GRAY_IMAGE
|
|
PIKA_GRAYA_IMAGE PIKA_INDEXED_IMAGE
|
|
PIKA_INDEXEDA_IMAGE) ],
|
|
mapping => { PIKA_RGB_IMAGE => '0',
|
|
PIKA_RGBA_IMAGE => '1',
|
|
PIKA_GRAY_IMAGE => '2',
|
|
PIKA_GRAYA_IMAGE => '3',
|
|
PIKA_INDEXED_IMAGE => '4',
|
|
PIKA_INDEXEDA_IMAGE => '5' }
|
|
},
|
|
PikaInkBlobType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_INK_BLOB_TYPE_CIRCLE
|
|
PIKA_INK_BLOB_TYPE_SQUARE
|
|
PIKA_INK_BLOB_TYPE_DIAMOND) ],
|
|
mapping => { PIKA_INK_BLOB_TYPE_CIRCLE => '0',
|
|
PIKA_INK_BLOB_TYPE_SQUARE => '1',
|
|
PIKA_INK_BLOB_TYPE_DIAMOND => '2' }
|
|
},
|
|
PikaInterpolationType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_INTERPOLATION_NONE PIKA_INTERPOLATION_LINEAR
|
|
PIKA_INTERPOLATION_CUBIC PIKA_INTERPOLATION_NOHALO
|
|
PIKA_INTERPOLATION_LOHALO) ],
|
|
mapping => { PIKA_INTERPOLATION_NONE => '0',
|
|
PIKA_INTERPOLATION_LINEAR => '1',
|
|
PIKA_INTERPOLATION_CUBIC => '2',
|
|
PIKA_INTERPOLATION_NOHALO => '3',
|
|
PIKA_INTERPOLATION_LOHALO => '4' }
|
|
},
|
|
PikaJoinStyle =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_JOIN_MITER PIKA_JOIN_ROUND PIKA_JOIN_BEVEL) ],
|
|
mapping => { PIKA_JOIN_MITER => '0',
|
|
PIKA_JOIN_ROUND => '1',
|
|
PIKA_JOIN_BEVEL => '2' }
|
|
},
|
|
PikaMaskApplyMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_MASK_APPLY PIKA_MASK_DISCARD) ],
|
|
mapping => { PIKA_MASK_APPLY => '0',
|
|
PIKA_MASK_DISCARD => '1' }
|
|
},
|
|
PikaMergeType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_EXPAND_AS_NECESSARY PIKA_CLIP_TO_IMAGE
|
|
PIKA_CLIP_TO_BOTTOM_LAYER PIKA_FLATTEN_IMAGE) ],
|
|
mapping => { PIKA_EXPAND_AS_NECESSARY => '0',
|
|
PIKA_CLIP_TO_IMAGE => '1',
|
|
PIKA_CLIP_TO_BOTTOM_LAYER => '2',
|
|
PIKA_FLATTEN_IMAGE => '3' }
|
|
},
|
|
PikaMessageHandlerType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_MESSAGE_BOX PIKA_CONSOLE PIKA_ERROR_CONSOLE) ],
|
|
mapping => { PIKA_MESSAGE_BOX => '0',
|
|
PIKA_CONSOLE => '1',
|
|
PIKA_ERROR_CONSOLE => '2' }
|
|
},
|
|
PikaOffsetType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_OFFSET_BACKGROUND PIKA_OFFSET_TRANSPARENT
|
|
PIKA_OFFSET_WRAP_AROUND) ],
|
|
mapping => { PIKA_OFFSET_BACKGROUND => '0',
|
|
PIKA_OFFSET_TRANSPARENT => '1',
|
|
PIKA_OFFSET_WRAP_AROUND => '2' }
|
|
},
|
|
PikaOrientationType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_ORIENTATION_HORIZONTAL
|
|
PIKA_ORIENTATION_VERTICAL PIKA_ORIENTATION_UNKNOWN) ],
|
|
mapping => { PIKA_ORIENTATION_HORIZONTAL => '0',
|
|
PIKA_ORIENTATION_VERTICAL => '1',
|
|
PIKA_ORIENTATION_UNKNOWN => '2' }
|
|
},
|
|
PikaPaintApplicationMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PAINT_CONSTANT PIKA_PAINT_INCREMENTAL) ],
|
|
mapping => { PIKA_PAINT_CONSTANT => '0',
|
|
PIKA_PAINT_INCREMENTAL => '1' }
|
|
},
|
|
PikaPDBErrorHandler =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PDB_ERROR_HANDLER_INTERNAL
|
|
PIKA_PDB_ERROR_HANDLER_PLUGIN) ],
|
|
mapping => { PIKA_PDB_ERROR_HANDLER_INTERNAL => '0',
|
|
PIKA_PDB_ERROR_HANDLER_PLUGIN => '1' }
|
|
},
|
|
PikaPDBProcType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PDB_PROC_TYPE_INTERNAL
|
|
PIKA_PDB_PROC_TYPE_PLUGIN
|
|
PIKA_PDB_PROC_TYPE_EXTENSION
|
|
PIKA_PDB_PROC_TYPE_TEMPORARY) ],
|
|
mapping => { PIKA_PDB_PROC_TYPE_INTERNAL => '0',
|
|
PIKA_PDB_PROC_TYPE_PLUGIN => '1',
|
|
PIKA_PDB_PROC_TYPE_EXTENSION => '2',
|
|
PIKA_PDB_PROC_TYPE_TEMPORARY => '3' }
|
|
},
|
|
PikaPDBStatusType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PDB_EXECUTION_ERROR PIKA_PDB_CALLING_ERROR
|
|
PIKA_PDB_PASS_THROUGH PIKA_PDB_SUCCESS
|
|
PIKA_PDB_CANCEL) ],
|
|
mapping => { PIKA_PDB_EXECUTION_ERROR => '0',
|
|
PIKA_PDB_CALLING_ERROR => '1',
|
|
PIKA_PDB_PASS_THROUGH => '2',
|
|
PIKA_PDB_SUCCESS => '3',
|
|
PIKA_PDB_CANCEL => '4' }
|
|
},
|
|
PikaPrecision =>
|
|
{ contig => 0,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PRECISION_U8_LINEAR
|
|
PIKA_PRECISION_U8_NON_LINEAR
|
|
PIKA_PRECISION_U8_PERCEPTUAL
|
|
PIKA_PRECISION_U16_LINEAR
|
|
PIKA_PRECISION_U16_NON_LINEAR
|
|
PIKA_PRECISION_U16_PERCEPTUAL
|
|
PIKA_PRECISION_U32_LINEAR
|
|
PIKA_PRECISION_U32_NON_LINEAR
|
|
PIKA_PRECISION_U32_PERCEPTUAL
|
|
PIKA_PRECISION_HALF_LINEAR
|
|
PIKA_PRECISION_HALF_NON_LINEAR
|
|
PIKA_PRECISION_HALF_PERCEPTUAL
|
|
PIKA_PRECISION_FLOAT_LINEAR
|
|
PIKA_PRECISION_FLOAT_NON_LINEAR
|
|
PIKA_PRECISION_FLOAT_PERCEPTUAL
|
|
PIKA_PRECISION_DOUBLE_LINEAR
|
|
PIKA_PRECISION_DOUBLE_NON_LINEAR
|
|
PIKA_PRECISION_DOUBLE_PERCEPTUAL
|
|
PIKA_PRECISION_U8_GAMMA PIKA_PRECISION_U16_GAMMA
|
|
PIKA_PRECISION_U32_GAMMA PIKA_PRECISION_HALF_GAMMA
|
|
PIKA_PRECISION_FLOAT_GAMMA
|
|
PIKA_PRECISION_DOUBLE_GAMMA) ],
|
|
mapping => { PIKA_PRECISION_U8_LINEAR => '100',
|
|
PIKA_PRECISION_U8_NON_LINEAR => '150',
|
|
PIKA_PRECISION_U8_PERCEPTUAL => '175',
|
|
PIKA_PRECISION_U16_LINEAR => '200',
|
|
PIKA_PRECISION_U16_NON_LINEAR => '250',
|
|
PIKA_PRECISION_U16_PERCEPTUAL => '275',
|
|
PIKA_PRECISION_U32_LINEAR => '300',
|
|
PIKA_PRECISION_U32_NON_LINEAR => '350',
|
|
PIKA_PRECISION_U32_PERCEPTUAL => '375',
|
|
PIKA_PRECISION_HALF_LINEAR => '500',
|
|
PIKA_PRECISION_HALF_NON_LINEAR => '550',
|
|
PIKA_PRECISION_HALF_PERCEPTUAL => '575',
|
|
PIKA_PRECISION_FLOAT_LINEAR => '600',
|
|
PIKA_PRECISION_FLOAT_NON_LINEAR => '650',
|
|
PIKA_PRECISION_FLOAT_PERCEPTUAL => '675',
|
|
PIKA_PRECISION_DOUBLE_LINEAR => '700',
|
|
PIKA_PRECISION_DOUBLE_NON_LINEAR => '750',
|
|
PIKA_PRECISION_DOUBLE_PERCEPTUAL => '775',
|
|
PIKA_PRECISION_U8_GAMMA => 'PIKA_PRECISION_U8_NON_LINEAR',
|
|
PIKA_PRECISION_U16_GAMMA => 'PIKA_PRECISION_U16_NON_LINEAR',
|
|
PIKA_PRECISION_U32_GAMMA => 'PIKA_PRECISION_U32_NON_LINEAR',
|
|
PIKA_PRECISION_HALF_GAMMA => 'PIKA_PRECISION_HALF_NON_LINEAR',
|
|
PIKA_PRECISION_FLOAT_GAMMA => 'PIKA_PRECISION_FLOAT_NON_LINEAR',
|
|
PIKA_PRECISION_DOUBLE_GAMMA => 'PIKA_PRECISION_DOUBLE_NON_LINEAR' }
|
|
},
|
|
PikaProgressCommand =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PROGRESS_COMMAND_START
|
|
PIKA_PROGRESS_COMMAND_END
|
|
PIKA_PROGRESS_COMMAND_SET_TEXT
|
|
PIKA_PROGRESS_COMMAND_SET_VALUE
|
|
PIKA_PROGRESS_COMMAND_PULSE
|
|
PIKA_PROGRESS_COMMAND_GET_WINDOW) ],
|
|
mapping => { PIKA_PROGRESS_COMMAND_START => '0',
|
|
PIKA_PROGRESS_COMMAND_END => '1',
|
|
PIKA_PROGRESS_COMMAND_SET_TEXT => '2',
|
|
PIKA_PROGRESS_COMMAND_SET_VALUE => '3',
|
|
PIKA_PROGRESS_COMMAND_PULSE => '4',
|
|
PIKA_PROGRESS_COMMAND_GET_WINDOW => '5' }
|
|
},
|
|
PikaRepeatMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_REPEAT_NONE PIKA_REPEAT_SAWTOOTH
|
|
PIKA_REPEAT_TRIANGULAR PIKA_REPEAT_TRUNCATE) ],
|
|
mapping => { PIKA_REPEAT_NONE => '0',
|
|
PIKA_REPEAT_SAWTOOTH => '1',
|
|
PIKA_REPEAT_TRIANGULAR => '2',
|
|
PIKA_REPEAT_TRUNCATE => '3' }
|
|
},
|
|
PikaRotationType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_ROTATE_90 PIKA_ROTATE_180 PIKA_ROTATE_270) ],
|
|
mapping => { PIKA_ROTATE_90 => '0',
|
|
PIKA_ROTATE_180 => '1',
|
|
PIKA_ROTATE_270 => '2' }
|
|
},
|
|
PikaRunMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_RUN_INTERACTIVE PIKA_RUN_NONINTERACTIVE
|
|
PIKA_RUN_WITH_LAST_VALS) ],
|
|
mapping => { PIKA_RUN_INTERACTIVE => '0',
|
|
PIKA_RUN_NONINTERACTIVE => '1',
|
|
PIKA_RUN_WITH_LAST_VALS => '2' }
|
|
},
|
|
PikaSelectCriterion =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_SELECT_CRITERION_COMPOSITE
|
|
PIKA_SELECT_CRITERION_RGB_RED
|
|
PIKA_SELECT_CRITERION_RGB_GREEN
|
|
PIKA_SELECT_CRITERION_RGB_BLUE
|
|
PIKA_SELECT_CRITERION_HSV_HUE
|
|
PIKA_SELECT_CRITERION_HSV_SATURATION
|
|
PIKA_SELECT_CRITERION_HSV_VALUE
|
|
PIKA_SELECT_CRITERION_LCH_LIGHTNESS
|
|
PIKA_SELECT_CRITERION_LCH_CHROMA
|
|
PIKA_SELECT_CRITERION_LCH_HUE
|
|
PIKA_SELECT_CRITERION_ALPHA) ],
|
|
mapping => { PIKA_SELECT_CRITERION_COMPOSITE => '0',
|
|
PIKA_SELECT_CRITERION_RGB_RED => '1',
|
|
PIKA_SELECT_CRITERION_RGB_GREEN => '2',
|
|
PIKA_SELECT_CRITERION_RGB_BLUE => '3',
|
|
PIKA_SELECT_CRITERION_HSV_HUE => '4',
|
|
PIKA_SELECT_CRITERION_HSV_SATURATION => '5',
|
|
PIKA_SELECT_CRITERION_HSV_VALUE => '6',
|
|
PIKA_SELECT_CRITERION_LCH_LIGHTNESS => '7',
|
|
PIKA_SELECT_CRITERION_LCH_CHROMA => '8',
|
|
PIKA_SELECT_CRITERION_LCH_HUE => '9',
|
|
PIKA_SELECT_CRITERION_ALPHA => '10' }
|
|
},
|
|
PikaSizeType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_PIXELS PIKA_POINTS) ],
|
|
mapping => { PIKA_PIXELS => '0',
|
|
PIKA_POINTS => '1' }
|
|
},
|
|
PikaStackTraceMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_STACK_TRACE_NEVER PIKA_STACK_TRACE_QUERY
|
|
PIKA_STACK_TRACE_ALWAYS) ],
|
|
mapping => { PIKA_STACK_TRACE_NEVER => '0',
|
|
PIKA_STACK_TRACE_QUERY => '1',
|
|
PIKA_STACK_TRACE_ALWAYS => '2' }
|
|
},
|
|
PikaStrokeMethod =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_STROKE_LINE PIKA_STROKE_PAINT_METHOD) ],
|
|
mapping => { PIKA_STROKE_LINE => '0',
|
|
PIKA_STROKE_PAINT_METHOD => '1' }
|
|
},
|
|
PikaTextDirection =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_TEXT_DIRECTION_LTR PIKA_TEXT_DIRECTION_RTL
|
|
PIKA_TEXT_DIRECTION_TTB_RTL
|
|
PIKA_TEXT_DIRECTION_TTB_RTL_UPRIGHT
|
|
PIKA_TEXT_DIRECTION_TTB_LTR
|
|
PIKA_TEXT_DIRECTION_TTB_LTR_UPRIGHT) ],
|
|
mapping => { PIKA_TEXT_DIRECTION_LTR => '0',
|
|
PIKA_TEXT_DIRECTION_RTL => '1',
|
|
PIKA_TEXT_DIRECTION_TTB_RTL => '2',
|
|
PIKA_TEXT_DIRECTION_TTB_RTL_UPRIGHT => '3',
|
|
PIKA_TEXT_DIRECTION_TTB_LTR => '4',
|
|
PIKA_TEXT_DIRECTION_TTB_LTR_UPRIGHT => '5' }
|
|
},
|
|
PikaTextHintStyle =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_TEXT_HINT_STYLE_NONE
|
|
PIKA_TEXT_HINT_STYLE_SLIGHT
|
|
PIKA_TEXT_HINT_STYLE_MEDIUM
|
|
PIKA_TEXT_HINT_STYLE_FULL) ],
|
|
mapping => { PIKA_TEXT_HINT_STYLE_NONE => '0',
|
|
PIKA_TEXT_HINT_STYLE_SLIGHT => '1',
|
|
PIKA_TEXT_HINT_STYLE_MEDIUM => '2',
|
|
PIKA_TEXT_HINT_STYLE_FULL => '3' }
|
|
},
|
|
PikaTextJustification =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_TEXT_JUSTIFY_LEFT PIKA_TEXT_JUSTIFY_RIGHT
|
|
PIKA_TEXT_JUSTIFY_CENTER PIKA_TEXT_JUSTIFY_FILL) ],
|
|
mapping => { PIKA_TEXT_JUSTIFY_LEFT => '0',
|
|
PIKA_TEXT_JUSTIFY_RIGHT => '1',
|
|
PIKA_TEXT_JUSTIFY_CENTER => '2',
|
|
PIKA_TEXT_JUSTIFY_FILL => '3' }
|
|
},
|
|
PikaTransferMode =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_TRANSFER_SHADOWS PIKA_TRANSFER_MIDTONES
|
|
PIKA_TRANSFER_HIGHLIGHTS) ],
|
|
mapping => { PIKA_TRANSFER_SHADOWS => '0',
|
|
PIKA_TRANSFER_MIDTONES => '1',
|
|
PIKA_TRANSFER_HIGHLIGHTS => '2' }
|
|
},
|
|
PikaTransformDirection =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_TRANSFORM_FORWARD PIKA_TRANSFORM_BACKWARD) ],
|
|
mapping => { PIKA_TRANSFORM_FORWARD => '0',
|
|
PIKA_TRANSFORM_BACKWARD => '1' }
|
|
},
|
|
PikaTransformResize =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_TRANSFORM_RESIZE_ADJUST
|
|
PIKA_TRANSFORM_RESIZE_CLIP
|
|
PIKA_TRANSFORM_RESIZE_CROP
|
|
PIKA_TRANSFORM_RESIZE_CROP_WITH_ASPECT) ],
|
|
mapping => { PIKA_TRANSFORM_RESIZE_ADJUST => '0',
|
|
PIKA_TRANSFORM_RESIZE_CLIP => '1',
|
|
PIKA_TRANSFORM_RESIZE_CROP => '2',
|
|
PIKA_TRANSFORM_RESIZE_CROP_WITH_ASPECT => '3' }
|
|
},
|
|
PikaUnit =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_UNIT_PIXEL PIKA_UNIT_INCH PIKA_UNIT_MM
|
|
PIKA_UNIT_POINT PIKA_UNIT_PICA PIKA_UNIT_END) ],
|
|
mapping => { PIKA_UNIT_PIXEL => '0',
|
|
PIKA_UNIT_INCH => '1',
|
|
PIKA_UNIT_MM => '2',
|
|
PIKA_UNIT_POINT => '3',
|
|
PIKA_UNIT_PICA => '4',
|
|
PIKA_UNIT_END => '5' }
|
|
},
|
|
PikaVectorsStrokeType =>
|
|
{ contig => 1,
|
|
header => 'libpikabase/pikabaseenums.h',
|
|
symbols => [ qw(PIKA_VECTORS_STROKE_TYPE_BEZIER) ],
|
|
mapping => { PIKA_VECTORS_STROKE_TYPE_BEZIER => '0' }
|
|
},
|
|
PikaColorManagementMode =>
|
|
{ contig => 1,
|
|
header => 'libpikaconfig/pikaconfigenums.h',
|
|
symbols => [ qw(PIKA_COLOR_MANAGEMENT_OFF
|
|
PIKA_COLOR_MANAGEMENT_DISPLAY
|
|
PIKA_COLOR_MANAGEMENT_SOFTPROOF) ],
|
|
mapping => { PIKA_COLOR_MANAGEMENT_OFF => '0',
|
|
PIKA_COLOR_MANAGEMENT_DISPLAY => '1',
|
|
PIKA_COLOR_MANAGEMENT_SOFTPROOF => '2' }
|
|
},
|
|
PikaColorRenderingIntent =>
|
|
{ contig => 1,
|
|
header => 'libpikaconfig/pikaconfigenums.h',
|
|
symbols => [ qw(PIKA_COLOR_RENDERING_INTENT_PERCEPTUAL
|
|
PIKA_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC
|
|
PIKA_COLOR_RENDERING_INTENT_SATURATION
|
|
PIKA_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC) ],
|
|
mapping => { PIKA_COLOR_RENDERING_INTENT_PERCEPTUAL => '0',
|
|
PIKA_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC => '1',
|
|
PIKA_COLOR_RENDERING_INTENT_SATURATION => '2',
|
|
PIKA_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC => '3' }
|
|
},
|
|
PikaLayerColorSpace =>
|
|
{ contig => 1,
|
|
header => 'operations/operations-enums.h',
|
|
symbols => [ qw(PIKA_LAYER_COLOR_SPACE_AUTO
|
|
PIKA_LAYER_COLOR_SPACE_RGB_LINEAR
|
|
PIKA_LAYER_COLOR_SPACE_RGB_PERCEPTUAL) ],
|
|
mapping => { PIKA_LAYER_COLOR_SPACE_AUTO => '0',
|
|
PIKA_LAYER_COLOR_SPACE_RGB_LINEAR => '1',
|
|
PIKA_LAYER_COLOR_SPACE_RGB_PERCEPTUAL => '2' }
|
|
},
|
|
PikaLayerCompositeMode =>
|
|
{ contig => 1,
|
|
header => 'operations/operations-enums.h',
|
|
symbols => [ qw(PIKA_LAYER_COMPOSITE_AUTO
|
|
PIKA_LAYER_COMPOSITE_UNION
|
|
PIKA_LAYER_COMPOSITE_CLIP_TO_BACKDROP
|
|
PIKA_LAYER_COMPOSITE_CLIP_TO_LAYER
|
|
PIKA_LAYER_COMPOSITE_INTERSECTION) ],
|
|
mapping => { PIKA_LAYER_COMPOSITE_AUTO => '0',
|
|
PIKA_LAYER_COMPOSITE_UNION => '1',
|
|
PIKA_LAYER_COMPOSITE_CLIP_TO_BACKDROP => '2',
|
|
PIKA_LAYER_COMPOSITE_CLIP_TO_LAYER => '3',
|
|
PIKA_LAYER_COMPOSITE_INTERSECTION => '4' }
|
|
},
|
|
PikaLayerMode =>
|
|
{ contig => 1,
|
|
header => 'operations/operations-enums.h',
|
|
symbols => [ qw(PIKA_LAYER_MODE_NORMAL_LEGACY
|
|
PIKA_LAYER_MODE_DISSOLVE
|
|
PIKA_LAYER_MODE_BEHIND_LEGACY
|
|
PIKA_LAYER_MODE_MULTIPLY_LEGACY
|
|
PIKA_LAYER_MODE_SCREEN_LEGACY
|
|
PIKA_LAYER_MODE_OVERLAY_LEGACY
|
|
PIKA_LAYER_MODE_DIFFERENCE_LEGACY
|
|
PIKA_LAYER_MODE_ADDITION_LEGACY
|
|
PIKA_LAYER_MODE_SUBTRACT_LEGACY
|
|
PIKA_LAYER_MODE_DARKEN_ONLY_LEGACY
|
|
PIKA_LAYER_MODE_LIGHTEN_ONLY_LEGACY
|
|
PIKA_LAYER_MODE_HSV_HUE_LEGACY
|
|
PIKA_LAYER_MODE_HSV_SATURATION_LEGACY
|
|
PIKA_LAYER_MODE_HSL_COLOR_LEGACY
|
|
PIKA_LAYER_MODE_HSV_VALUE_LEGACY
|
|
PIKA_LAYER_MODE_DIVIDE_LEGACY
|
|
PIKA_LAYER_MODE_DODGE_LEGACY
|
|
PIKA_LAYER_MODE_BURN_LEGACY
|
|
PIKA_LAYER_MODE_HARDLIGHT_LEGACY
|
|
PIKA_LAYER_MODE_SOFTLIGHT_LEGACY
|
|
PIKA_LAYER_MODE_GRAIN_EXTRACT_LEGACY
|
|
PIKA_LAYER_MODE_GRAIN_MERGE_LEGACY
|
|
PIKA_LAYER_MODE_COLOR_ERASE_LEGACY
|
|
PIKA_LAYER_MODE_OVERLAY PIKA_LAYER_MODE_LCH_HUE
|
|
PIKA_LAYER_MODE_LCH_CHROMA
|
|
PIKA_LAYER_MODE_LCH_COLOR
|
|
PIKA_LAYER_MODE_LCH_LIGHTNESS
|
|
PIKA_LAYER_MODE_NORMAL PIKA_LAYER_MODE_BEHIND
|
|
PIKA_LAYER_MODE_MULTIPLY PIKA_LAYER_MODE_SCREEN
|
|
PIKA_LAYER_MODE_DIFFERENCE
|
|
PIKA_LAYER_MODE_ADDITION PIKA_LAYER_MODE_SUBTRACT
|
|
PIKA_LAYER_MODE_DARKEN_ONLY
|
|
PIKA_LAYER_MODE_LIGHTEN_ONLY
|
|
PIKA_LAYER_MODE_HSV_HUE
|
|
PIKA_LAYER_MODE_HSV_SATURATION
|
|
PIKA_LAYER_MODE_HSL_COLOR
|
|
PIKA_LAYER_MODE_HSV_VALUE PIKA_LAYER_MODE_DIVIDE
|
|
PIKA_LAYER_MODE_DODGE PIKA_LAYER_MODE_BURN
|
|
PIKA_LAYER_MODE_HARDLIGHT
|
|
PIKA_LAYER_MODE_SOFTLIGHT
|
|
PIKA_LAYER_MODE_GRAIN_EXTRACT
|
|
PIKA_LAYER_MODE_GRAIN_MERGE
|
|
PIKA_LAYER_MODE_VIVID_LIGHT
|
|
PIKA_LAYER_MODE_PIN_LIGHT
|
|
PIKA_LAYER_MODE_LINEAR_LIGHT
|
|
PIKA_LAYER_MODE_HARD_MIX PIKA_LAYER_MODE_EXCLUSION
|
|
PIKA_LAYER_MODE_LINEAR_BURN
|
|
PIKA_LAYER_MODE_LUMA_DARKEN_ONLY
|
|
PIKA_LAYER_MODE_LUMA_LIGHTEN_ONLY
|
|
PIKA_LAYER_MODE_LUMINANCE
|
|
PIKA_LAYER_MODE_COLOR_ERASE PIKA_LAYER_MODE_ERASE
|
|
PIKA_LAYER_MODE_MERGE PIKA_LAYER_MODE_SPLIT
|
|
PIKA_LAYER_MODE_PASS_THROUGH) ],
|
|
mapping => { PIKA_LAYER_MODE_NORMAL_LEGACY => '0',
|
|
PIKA_LAYER_MODE_DISSOLVE => '1',
|
|
PIKA_LAYER_MODE_BEHIND_LEGACY => '2',
|
|
PIKA_LAYER_MODE_MULTIPLY_LEGACY => '3',
|
|
PIKA_LAYER_MODE_SCREEN_LEGACY => '4',
|
|
PIKA_LAYER_MODE_OVERLAY_LEGACY => '5',
|
|
PIKA_LAYER_MODE_DIFFERENCE_LEGACY => '6',
|
|
PIKA_LAYER_MODE_ADDITION_LEGACY => '7',
|
|
PIKA_LAYER_MODE_SUBTRACT_LEGACY => '8',
|
|
PIKA_LAYER_MODE_DARKEN_ONLY_LEGACY => '9',
|
|
PIKA_LAYER_MODE_LIGHTEN_ONLY_LEGACY => '10',
|
|
PIKA_LAYER_MODE_HSV_HUE_LEGACY => '11',
|
|
PIKA_LAYER_MODE_HSV_SATURATION_LEGACY => '12',
|
|
PIKA_LAYER_MODE_HSL_COLOR_LEGACY => '13',
|
|
PIKA_LAYER_MODE_HSV_VALUE_LEGACY => '14',
|
|
PIKA_LAYER_MODE_DIVIDE_LEGACY => '15',
|
|
PIKA_LAYER_MODE_DODGE_LEGACY => '16',
|
|
PIKA_LAYER_MODE_BURN_LEGACY => '17',
|
|
PIKA_LAYER_MODE_HARDLIGHT_LEGACY => '18',
|
|
PIKA_LAYER_MODE_SOFTLIGHT_LEGACY => '19',
|
|
PIKA_LAYER_MODE_GRAIN_EXTRACT_LEGACY => '20',
|
|
PIKA_LAYER_MODE_GRAIN_MERGE_LEGACY => '21',
|
|
PIKA_LAYER_MODE_COLOR_ERASE_LEGACY => '22',
|
|
PIKA_LAYER_MODE_OVERLAY => '23',
|
|
PIKA_LAYER_MODE_LCH_HUE => '24',
|
|
PIKA_LAYER_MODE_LCH_CHROMA => '25',
|
|
PIKA_LAYER_MODE_LCH_COLOR => '26',
|
|
PIKA_LAYER_MODE_LCH_LIGHTNESS => '27',
|
|
PIKA_LAYER_MODE_NORMAL => '28',
|
|
PIKA_LAYER_MODE_BEHIND => '29',
|
|
PIKA_LAYER_MODE_MULTIPLY => '30',
|
|
PIKA_LAYER_MODE_SCREEN => '31',
|
|
PIKA_LAYER_MODE_DIFFERENCE => '32',
|
|
PIKA_LAYER_MODE_ADDITION => '33',
|
|
PIKA_LAYER_MODE_SUBTRACT => '34',
|
|
PIKA_LAYER_MODE_DARKEN_ONLY => '35',
|
|
PIKA_LAYER_MODE_LIGHTEN_ONLY => '36',
|
|
PIKA_LAYER_MODE_HSV_HUE => '37',
|
|
PIKA_LAYER_MODE_HSV_SATURATION => '38',
|
|
PIKA_LAYER_MODE_HSL_COLOR => '39',
|
|
PIKA_LAYER_MODE_HSV_VALUE => '40',
|
|
PIKA_LAYER_MODE_DIVIDE => '41',
|
|
PIKA_LAYER_MODE_DODGE => '42',
|
|
PIKA_LAYER_MODE_BURN => '43',
|
|
PIKA_LAYER_MODE_HARDLIGHT => '44',
|
|
PIKA_LAYER_MODE_SOFTLIGHT => '45',
|
|
PIKA_LAYER_MODE_GRAIN_EXTRACT => '46',
|
|
PIKA_LAYER_MODE_GRAIN_MERGE => '47',
|
|
PIKA_LAYER_MODE_VIVID_LIGHT => '48',
|
|
PIKA_LAYER_MODE_PIN_LIGHT => '49',
|
|
PIKA_LAYER_MODE_LINEAR_LIGHT => '50',
|
|
PIKA_LAYER_MODE_HARD_MIX => '51',
|
|
PIKA_LAYER_MODE_EXCLUSION => '52',
|
|
PIKA_LAYER_MODE_LINEAR_BURN => '53',
|
|
PIKA_LAYER_MODE_LUMA_DARKEN_ONLY => '54',
|
|
PIKA_LAYER_MODE_LUMA_LIGHTEN_ONLY => '55',
|
|
PIKA_LAYER_MODE_LUMINANCE => '56',
|
|
PIKA_LAYER_MODE_COLOR_ERASE => '57',
|
|
PIKA_LAYER_MODE_ERASE => '58',
|
|
PIKA_LAYER_MODE_MERGE => '59',
|
|
PIKA_LAYER_MODE_SPLIT => '60',
|
|
PIKA_LAYER_MODE_PASS_THROUGH => '61' }
|
|
},
|
|
PikaConvertDitherType =>
|
|
{ contig => 1,
|
|
header => 'core/core-enums.h',
|
|
symbols => [ qw(PIKA_CONVERT_DITHER_NONE PIKA_CONVERT_DITHER_FS
|
|
PIKA_CONVERT_DITHER_FS_LOWBLEED
|
|
PIKA_CONVERT_DITHER_FIXED) ],
|
|
mapping => { PIKA_CONVERT_DITHER_NONE => '0',
|
|
PIKA_CONVERT_DITHER_FS => '1',
|
|
PIKA_CONVERT_DITHER_FS_LOWBLEED => '2',
|
|
PIKA_CONVERT_DITHER_FIXED => '3' }
|
|
},
|
|
PikaHistogramChannel =>
|
|
{ contig => 1,
|
|
header => 'core/core-enums.h',
|
|
symbols => [ qw(PIKA_HISTOGRAM_VALUE PIKA_HISTOGRAM_RED
|
|
PIKA_HISTOGRAM_GREEN PIKA_HISTOGRAM_BLUE
|
|
PIKA_HISTOGRAM_ALPHA PIKA_HISTOGRAM_LUMINANCE) ],
|
|
mapping => { PIKA_HISTOGRAM_VALUE => '0',
|
|
PIKA_HISTOGRAM_RED => '1',
|
|
PIKA_HISTOGRAM_GREEN => '2',
|
|
PIKA_HISTOGRAM_BLUE => '3',
|
|
PIKA_HISTOGRAM_ALPHA => '4',
|
|
PIKA_HISTOGRAM_LUMINANCE => '5' }
|
|
},
|
|
PikaBrushApplicationMode =>
|
|
{ contig => 1,
|
|
header => 'paint/paint-enums.h',
|
|
symbols => [ qw(PIKA_BRUSH_HARD PIKA_BRUSH_SOFT) ],
|
|
mapping => { PIKA_BRUSH_HARD => '0',
|
|
PIKA_BRUSH_SOFT => '1' }
|
|
}
|
|
);
|
|
|
|
foreach $e (values %enums) {
|
|
$e->{info} = "";
|
|
foreach (@{$e->{symbols}}) {
|
|
$e->{info} .= "$_ ($e->{mapping}->{$_}), "
|
|
}
|
|
$e->{info} =~ s/, $//;
|
|
}
|
|
|
|
1;
|