File: fdata_img.lua

package info (click to toggle)
luatex 0.70.1.20120524-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 242,132 kB
  • sloc: ansic: 890,140; cpp: 469,298; perl: 73,299; sh: 46,668; makefile: 16,604; python: 8,427; lisp: 6,684; xml: 3,926; lex: 3,784; java: 3,569; pascal: 3,569; yacc: 2,461; exp: 2,031; ruby: 1,375; objc: 1,362; tcl: 631; sed: 522; asm: 435; csh: 46; awk: 30
file content (156 lines) | stat: -rw-r--r-- 4,034 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
-- $Id: fdata_img.lua 4106 2011-04-10 12:51:54Z hhenkel $

local fdata_img = {
  ["functions"] = {
    ["boxes"] = {
      ["arguments"] = {},
      ["returnvalues"] = {
            {
               ["name"] = "boxes",
               ["optional"] = false,
               ["type"] = "table",
            },
      },
      ["shortdesc"] = "Returns a list of supported image bounding box names.",
      ["type"] = "function",
    },
    ["copy"] = {
      ["arguments"] = {
            {
               ["name"] = "var",
               ["optional"] = false,
               ["type"] = "image",
            },
      },
      ["returnvalues"] = {
            {
               ["name"] = "var",
               ["optional"] = false,
               ["type"] = "image",
            },
      },
      ["shortdesc"] = "Copy an image.",
      ["type"] = "function",
    },
    ["immediatewrite"] = {
      ["arguments"] = {
            {
               ["name"] = "var",
               ["optional"] = false,
               ["type"] = "image",
            },
      },
      ["returnvalues"] = {
            {
               ["name"] = "var",
               ["optional"] = false,
               ["type"] = "image",
            },
      },
      ["shortdesc"] = "Write the image to the PDF file immediately.",
      ["type"] = "function",
    },
    ["keys"] = {
      ["arguments"] = {},
      ["returnvalues"] = {
            {
               ["name"] = "keys",
               ["optional"] = false,
               ["type"] = "table",
            },
      },
      ["shortdesc"] = "Returns a table with possible image table keys, including retrieved information.",
      ["type"] = "function",
    },
    ["new"] = {
      ["arguments"] = {
            {
               ["name"] = "var",
               ["optional"] = true,
               ["type"] = "table",
            },
         },
      ["returnvalues"] = {
            {
               ["name"] = "var",
               ["optional"] = false,
               ["type"] = "image",
            },
      },
      ["shortdesc"] = "This function creates an \\quote {image} object.  Allowed fields\
        in the table: \\aliteral{filename} (required), \\aliteral{width},\
        \\aliteral{depth}, \\aliteral{height}, \\aliteral{attr}, \\aliteral{page}, \\aliteral{pagebox}, \\aliteral{colorspace}).",
      ["type"] = "function",
    },
    ["node"] = {
      ["arguments"] = {
         {
            ["name"] = "var",
            ["optional"] = false,
            ["type"] = "image",
         },
      },
      ["returnvalues"] = {
         {
            ["name"] = "n",
            ["optional"] = false,
            ["type"] = "node",
         },
      },
      ["shortdesc"] = "Returns the node associated with an image.",
      ["type"] = "function",
    },
    ["scan"] = {
      ["arguments"] = {
         {
            ["name"] = "var",
            ["optional"] = false,
            ["type"] = "image",
         },
      },
      ["returnvalues"] = {
         {
            ["name"] = "var",
            ["optional"] = false,
            ["type"] = "image",
         },
      },
      ["shortdesc"] = "Processes an image file and stores the retrieved information in the image object.",
      ["type"] = "function",
    },
    ["types"] = {
      ["arguments"] = {},
      ["returnvalues"] = {
         {
            ["name"] = "types",
            ["optional"] = false,
            ["type"] = "table",
         },
      },
      ["shortdesc"] = "Returns a list of supported image types.",
      ["type"] = "function",
    },
    ["write"] = {
      ["arguments"] = {
         {
            ["name"] = "var",
            ["optional"] = false,
            ["type"] = "image",
         },
      },
      ["returnvalues"] = {
         {
            ["name"] = "var",
            ["optional"] = false,
            ["type"] = "image",
         },
      },
      ["shortdesc"] = "Write the image to the PDF file.",
      ["type"] = "function",
    },
  },
  ["methods"] = {
  },
}

return fdata_img