File: pixel_wand.h

package info (click to toggle)
graphicsmagick 1.4%2Breally1.3.36%2Bhg16481-2%2Bdeb11u1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 42,320 kB
  • sloc: ansic: 241,776; cpp: 18,674; sh: 11,210; perl: 3,384; makefile: 2,419; tcl: 2,211; python: 1,292
file content (91 lines) | stat: -rw-r--r-- 3,065 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
  Copyright (C) 2003-2009 GraphicsMagick Group
  Copyright (C) 2003 ImageMagick Studio
 
  This program is covered by multiple licenses, which are described in
  Copyright.txt. You should have received a copy of Copyright.txt with this
  package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
 
  GraphicsMagick Pixel Wand Methods.
*/
#ifndef _MAGICK_PIXEL_WAND_H
#define _MAGICK_PIXEL_WAND_H

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

#include "wand/wand_symbols.h"

typedef struct _PixelWand PixelWand;

extern WandExport char
  *PixelGetColorAsString(const PixelWand *);

extern WandExport double
  PixelGetBlack(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetBlue(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetCyan(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetGreen(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetMagenta(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetOpacity(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetRed(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetYellow(const PixelWand *) MAGICK_FUNC_PURE;

extern WandExport PixelWand
  *ClonePixelWand(const PixelWand *),
  **ClonePixelWands(const PixelWand **,const unsigned long),
  *NewPixelWand(void),
  **NewPixelWands(const unsigned long);

extern WandExport Quantum
  PixelGetBlackQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetBlueQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetCyanQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetGreenQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetMagentaQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetOpacityQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetRedQuantum(const PixelWand *) MAGICK_FUNC_PURE,
  PixelGetYellowQuantum(const PixelWand *) MAGICK_FUNC_PURE;

extern WandExport unsigned int
  PixelSetColor(PixelWand *,const char *);

extern WandExport unsigned long
  PixelGetColorCount(const PixelWand *) MAGICK_FUNC_PURE;

extern WandExport void
  DestroyPixelWand(PixelWand *),
  PixelGetQuantumColor(const PixelWand *,PixelPacket *),
  PixelSetBlack(PixelWand *,const double),
  PixelSetBlackQuantum(PixelWand *,const Quantum),
  PixelSetBlue(PixelWand *,const double),
  PixelSetBlueQuantum(PixelWand *,const Quantum),
  PixelSetColorCount(PixelWand *,const unsigned long),
  PixelSetCyan(PixelWand *,const double),
  PixelSetCyanQuantum(PixelWand *,const Quantum),
  PixelSetGreen(PixelWand *,const double),
  PixelSetGreenQuantum(PixelWand *,const Quantum),
  PixelSetMagenta(PixelWand *,const double),
  PixelSetMagentaQuantum(PixelWand *,const Quantum),
  PixelSetOpacity(PixelWand *,const double),
  PixelSetOpacityQuantum(PixelWand *,const Quantum),
  PixelSetQuantumColor(PixelWand *,PixelPacket *),
  PixelSetRed(PixelWand *,const double),
  PixelSetRedQuantum(PixelWand *,const Quantum),
  PixelSetYellow(PixelWand *,const double),
  PixelSetYellowQuantum(PixelWand *,const Quantum);

#if defined(__cplusplus) || defined(c_plusplus)
}
#endif

#endif

/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 2
 * fill-column: 78
 * End:
 */