~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/packages/base/imagemagick/wand/pixel_wand.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
  Copyright 1999-2005 ImageMagick Studio LLC, a non-profit organization
 
3
  dedicated to making software imaging solutions freely available.
 
4
  
 
5
  You may not use this file except in compliance with the License.
 
6
  obtain a copy of the License at
 
7
  
 
8
    http://www.imagemagick.org/script/license.php
 
9
  
 
10
  Unless required by applicable law or agreed to in writing, software
 
11
  distributed under the License is distributed on an "AS IS" BASIS,
 
12
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
  See the License for the specific language governing permissions and
 
14
  limitations under the License.
 
15
 
 
16
  ImageMagick pixel wand API.
 
17
}
 
18
 
 
19
 
 
20
{
 
21
  Declaration from pixel-wand.c
 
22
}
 
23
type
 
24
  PixelWand = record
 
25
    id: Cardinal;
 
26
 
 
27
    name: array[1..MaxTextExtent] of char;
 
28
 
 
29
    exception: ExceptionInfo;
 
30
 
 
31
    pixel: MagickPixelPacket;
 
32
 
 
33
    count: Cardinal;
 
34
 
 
35
    debug: MagickBooleanType;
 
36
 
 
37
    signature: Cardinal;
 
38
  end;
 
39
  
 
40
  PPixelWand = ^PixelWand;
 
41
  
 
42
  PPPixelWand = ^PPixelWand;
 
43
  
 
44
 
 
45
function PixelGetException(const wand: PPixelWand; severity: PExceptionType): PChar; cdecl; external WandExport;
 
46
function PixelGetColorAsString(const wand: PPixelWand): PChar; cdecl; external WandExport;
 
47
 
 
48
function PixelGetAlpha(const wand: PPixelWand): Double; cdecl; external WandExport;
 
49
function PixelGetBlack(const wand: PPixelWand): Double; cdecl; external WandExport;
 
50
function PixelGetBlue(const wand: PPixelWand): Double; cdecl; external WandExport;
 
51
function PixelGetCyan(const wand: PPixelWand): Double; cdecl; external WandExport;
 
52
function PixelGetGreen(const wand: PPixelWand): Double; cdecl; external WandExport;
 
53
function PixelGetMagenta(const wand: PPixelWand): Double; cdecl; external WandExport;
 
54
function PixelGetOpacity(const wand: PPixelWand): Double; cdecl; external WandExport;
 
55
function PixelGetRed(const wand: PPixelWand): Double; cdecl; external WandExport;
 
56
function PixelGetYellow(const wand: PPixelWand): Double; cdecl; external WandExport;
 
57
 
 
58
function PixelGetIndex(const wand: PPixelWand): IndexPacket; cdecl; external WandExport;
 
59
 
 
60
function IsPixelWand(const wand: PPixelWand): MagickBooleanType; cdecl; external WandExport;
 
61
function IsPixelWandSimilar(p: PPixelWand; q: PPixelWand;
 
62
 const fuzz: double): MagickBooleanType; cdecl; external WandExport;
 
63
function PixelClearException(wand: PPixelWand): MagickBooleanType; cdecl; external WandExport;
 
64
function PixelSetColor(wand: PPixelWand; const color: PChar): MagickBooleanType; cdecl; external WandExport;
 
65
 
 
66
function DestroyPixelWand(wand: PPixelWand): PPixelWand; cdecl; external WandExport;
 
67
function DestroyPixelWands(wand: PPPixelWand;
 
68
 const number_wands: Cardinal): PPPixelWand; cdecl; external WandExport;
 
69
function NewPixelWand: PPixelWand; cdecl; external WandExport;
 
70
function NewPixelWands(const number_wands: Cardinal): PPPixelWand; cdecl; external WandExport;
 
71
 
 
72
function PixelGetAlphaQuantum(const wand: PPixelWand): Quantum; cdecl; external  WandExport;
 
73
function PixelGetBlackQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
74
function PixelGetBlueQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
75
function PixelGetCyanQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
76
function PixelGetGreenQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
77
function PixelGetMagentaQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
78
function PixelGetOpacityQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
79
function PixelGetRedQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
80
function PixelGetYellowQuantum(const wand: PPixelWand): Quantum; cdecl; external WandExport;
 
81
 
 
82
function PixelGetColorCount(const wand: PPixelWand): Cardinal; cdecl; external WandExport;
 
83
 
 
84
procedure ClearPixelWand(wand: PPixelWand); cdecl; external WandExport;
 
85
procedure PixelGetMagickColor(const wand: PPixelWand; packet: PMagickPixelPacket); cdecl; external WandExport;
 
86
procedure PixelGetQuantumColor(const wand: PPixelWand; color: PPixelPacket); cdecl; external WandExport;
 
87
procedure PixelSetAlpha(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
88
procedure PixelSetAlphaQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
89
procedure PixelSetBlack(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
90
procedure PixelSetBlackQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
91
procedure PixelSetBlue(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
92
procedure PixelSetBlueQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
93
procedure PixelSetColorCount(wand: PPixelWand; const count: Cardinal); cdecl; external WandExport;
 
94
procedure PixelSetCyan(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
95
procedure PixelSetCyanQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
96
procedure PixelSetGreen(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
97
procedure PixelSetGreenQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
98
procedure PixelSetIndex(wand: PPixelWand; const index: IndexPacket); cdecl; external WandExport;
 
99
procedure PixelSetMagenta(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
100
procedure PixelSetMagentaQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
101
procedure PixelSetOpacity(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
102
procedure PixelSetOpacityQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
103
procedure PixelSetQuantumColor(wand: PPixelWand; const color: PPixelPacket); cdecl; external WandExport;
 
104
procedure PixelSetRed(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
105
procedure PixelSetRedQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
106
procedure PixelSetYellow(wand: PPixelWand; const opacity: Double); cdecl; external WandExport;
 
107
procedure PixelSetYellowQuantum(wand: PPixelWand; const opacity: Quantum); cdecl; external WandExport;
 
108
 
 
109