home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / imagefx_sdk / fd / scan.fd < prev   
Text File  |  1980-01-10  |  10KB  |  425 lines

  1. ##base _ScanBase
  2. ##bias 30
  3. ##private
  4. *
  5. obsolete()()
  6. *
  7. ##public
  8. HidePanel()()
  9. ShowPanel()()
  10. ArrangePanel()()
  11. ShowStatus(buffer)(a0)
  12. *
  13. * These 3 bar functions are registerized!!
  14. BeginBar(title,count,cancel)(a0/d0/d1)
  15. Bar(iteration)(d0)
  16. EndBar(junk)(a0)
  17. *
  18. Error()()
  19. VErrorf(text,vargs)(a0/a1)
  20. TogglePanel()()
  21. *
  22. ##private
  23. *
  24. * These have been removed as of 2.0
  25. *
  26. oldSerOpen(device,unit,baud,z)(a0/d0/d1/d2)
  27. oldSerClose()()
  28. oldSerBaud(baud)(d0)
  29. oldSerRead(buf,len)(a0/d0)
  30. oldTimedSerRead(buf,len,timeout)(a0/d0/d1)
  31. ##private
  32. obsolete1()()
  33. ##public
  34. oldSerPutc(byte)(d0)
  35. oldSerWrite(string,len)(a0/d0)
  36. oldSerFlush()()
  37. oldSerDisable()()
  38. ##public
  39. *
  40. * 2.0 ONLY:
  41. Ged_SetGC(context,gadgetid,value)(a0/d0/d1)
  42. *
  43. Ged_Set(window,gadgetid,value)(a0/d0/d1)
  44. Ged_Get(window,gadgetid)(a0/d0)
  45. Ged_Activate(window,gadgetid)(a0/d0)
  46. Ged_Enable(window,gadgetid,enable)(a0/d0/d1)
  47. *
  48. AllocChipBitMap(w,h,d)(d0/d1/d2)
  49. AllocFastBitMap(w,h,d)(d0/d1/d2)
  50. DeleteBitMap(bitmap)(a0)
  51. ClearBitMap(bitmap)(a0)
  52. CopyBitMap(source,dest)(a0/a1)
  53. SetError(errorcode)(d0)
  54. GetError()()
  55. ##private
  56. obsolete2()()
  57. ##public
  58. DAlloc(size,flags,file,func,line)(d0/d1/a0/a1/d2)
  59. DFree(mem,size,file,func,line)(a1/d0/a0/a2/d2)
  60. *
  61. IsBuffer()()
  62. FreeBuffer()()
  63. InitBuffer(name,width,height,depth,bits,flags)(a0/d0/d1/d2/d3/d4)
  64. ObtainBuffer(which)(d0)
  65. ReleaseBuffer(buffer)(a0)
  66. GetBufLine(buffer,redp,grnp,blup,scanline)(a0/a1/a2/a3/d0)
  67. PutBufLine(buffer)(a0)
  68. PutNewBufLine(buffer,red,grn,blu,scanline)(a0/a1/a2/a3/d0)
  69. PutNewBufLine1(a,b,c,d)(a0/a1/d0/d1)
  70. GetBufVLine(a,b,c,d,e)(a0/a1/a2/a3/d0)
  71. PutBufVLine(a)(a0)
  72. PutNewBufVLine(a,b,c,d,e)(a0/a1/a2/a3/d0)
  73. PutNewBufVLine1(a,b,c,d)(a0/a1/d0/d1)
  74. ##private
  75. obsolete111()()
  76. ##public
  77. *
  78. ##private
  79. obsolete3()()
  80. obsolete4()()
  81. ##public
  82. RenderVirtual()()
  83. RenderPartVirtual(x1,y1,x2,y2)(d0/d1/d2/d3)
  84. VirtualTranslate(xptr,yptr)(a0/a1)
  85. GetVCoords(intuimsg,xptr,yptr)(a0/a1/a2)
  86. VirtRow24(a,b,c,d,e)(a0/a1/a2/d0/d1)
  87. ColorVirtual(a)(d0)
  88. ClearVirtual()()
  89. ##private
  90. obsolete7()()
  91. obsolete8()()
  92. obsolete9()()
  93. ##public
  94. VirtRow8(a,b,c,d)(a0/d0/d1/d2)
  95. VirtCol8(a,b,c,d)(a0/d0/d1/d2)
  96. ##private
  97. obsolete112()()
  98. obsolete10()()
  99. ##public
  100. VirtualTempClose()()
  101. VirtualTempOpen()()
  102. *
  103. RequestNewRender()()
  104. *
  105. ##private
  106. obsolete11()()
  107. obsolete12()()
  108. obsolete13()()
  109. obsolete14()()
  110. obsolete15()()
  111. obsolete16()()
  112. obsolete17()()
  113. obsolete18()()
  114. *
  115. DM_Inquire()()
  116. DM_Dither()()
  117. *
  118. Quantize_Inquire()()
  119. ##public
  120. DoQuantize(a,b,d,e,f,g)(d0/d1/a0/a1/a2/d2)
  121. *
  122. AllocBuffer(name,width,height,depth,bits,flags)(a0/d0/d1/d2/d3/d4)
  123. ReplaceBuffer(oldbuf,newbuf)(a0/a1)
  124. KillBuffer(buffer)(a0)
  125. *
  126. ProcessRegion(a,b,d,e,f)(a0/a1/a2/a3/a4)
  127. ProcessPlane(a,b,c,d,e)(a0/a1/a2/d0/a3)
  128. SaveUndo(buffer,leftedge,topedge,width,height)(a0/d0/d1/d2/d3)
  129. RestoreUndo(redraw)(d0)
  130. *
  131. InitHook()()
  132. CleanupHook()()
  133. EasyProcess(a,b,c)(a0/a1/a2)
  134. *
  135. PreOverscan(a)(a0)
  136. PostOverscan(a)(a0)
  137. *
  138. VBoolRequest(title,vargs)(a0/a1)
  139. StringRequest(title,default)(a0/a1)
  140. IntegerRequest(title,low,high,default)(a0/d0/d1/d2)
  141. *
  142. SetCurrentPalette(a,b)(a0/d0)
  143. GetPaletteStruct(a)(a0)
  144. IsRangeLocked(a)(d0)
  145. IsRegisterLocked(a)(d0)
  146. ModifyPalette(a,b,c,d)(d0/d1/d2/d3)
  147. UnlockedColors(a)(d0)
  148. RefreshPalette()()
  149. *
  150. OpenRenderScreen(a,b,c)(a0/d0/d1)
  151. CloseRenderScreen(a)(a0)
  152. DrawRenderArea()()
  153. *
  154. SetModGad(base,id,val)(a0/d0/d1)
  155. Ged_Create(context,newgad,text)(a0/a1/a2)
  156. Ged_Delete(context)(a0)
  157. Ged_Add(context,window)(a0/a1)
  158. Ged_Remove(context,window)(a0/a1)
  159. GedWindow(newwindow,newgad,id,init,free,text)(a0/a1/d0/a2/a3/a4)
  160. Ged_GetIMsg(window,rcptr)(a0/a1)
  161. *
  162. VInfoRequest(title,vargs)(a0/a1)
  163. *
  164. CheckMask(mask,x,y)(a0/d0/d1)
  165. *
  166. RollScreenUp(height)(d0)
  167. RollScreenDown()()
  168. *
  169. InstallCustomMask(a)(a0)
  170. FreeMask(mask)(a0)
  171. BuildRectMask(a,b,c,d)(d0/d1/d2/d3)
  172. BuildOvalMask(a,b,c,d,e)(d0/d1/d2/d3/d4)
  173. BuildPolyMask(a)(a0)
  174. BuildFloodMask(a,b,c,d)(a0/d0/d1/d2)
  175. SetRegionTool(a)(d0)
  176. *
  177. ##private
  178. msprintf()()
  179. ##public
  180. *
  181. SaveBuffer(a,b,c)(a0/a1/a2)
  182. LoadBuffer(a,b,c)(a0/a1/d0)
  183. *
  184. *------------------------------ 0.49 ---------------------------
  185. *
  186. ParseCommand(a,b)(a0/a1)
  187. RenderPalette(a,b,c,d,e)(a0/a1/d0/a2/d1)
  188. ##private
  189. DoRexx()()
  190. DoGadget()()
  191. ##public
  192. *
  193. *------------------------------ 0.51 ---------------------------
  194. *
  195. RedrawFull()()
  196. RedrawArea(a,b,c,d)(d0/d1/d2/d3)
  197. *
  198. *------------------------------ 0.52 ---------------------------
  199. *
  200. ListRequester(a,b,c)(a0/a1/d0)
  201. *
  202. *------------------------------ 0.54 ---------------------------
  203. *
  204. VThreeRequest(a,b,c,d,e)(a0/a1/a2/a3/a4)
  205. *
  206. *------------------------------ 0.55 ---------------------------
  207. *
  208. UnlockResource(a)(d0)
  209. RelockResource(a)(d0)
  210. NewGetFile(a,b,c)(a0/a1/d0)
  211. TakeOver(a)(d0)
  212. ReadBuffer(a,b)(a0/a1)
  213. * Misleading name at best:
  214. SaveBrush(a,b,c,d)(a0/a1/a2/a3)
  215. *
  216. *------------------------------ 0.57 ---------------------------
  217. *
  218. SaveMapped(a,b,c,d)(a0/a1/a2/a3)
  219. *
  220. *------------------------------ 0.58 ---------------------------
  221. *
  222. BOpen(file,mode,bufsize)(a0/d0/d1)
  223. BClose(handle)(a0)
  224. BPutc(handle,c)(a0,d0)
  225. BPuts(handle,string)(a0,a1)
  226. BGetc(handle)(a0)
  227. BGets(handle,buf,len)(a0/a1/d0)
  228. BWrite(handle,buffer,length)(a0/a1/d0)
  229. BRead(handle,buffer,length)(a0/a1/d0)
  230. *
  231. *------------------------------ 0.61 ---------------------------
  232. *
  233. CloseWindowSafely(window)(a0)
  234. *
  235. *------------------------------ 0.62 ---------------------------
  236. *
  237. RequestNewScanner()()
  238. RequestNewPrinter()()
  239. *
  240. *------------------------------ 0.63 ---------------------------
  241. *
  242. VSetResult(msg,fmt,vargs)(a0/a1/a2)
  243. ##private
  244. MatchArg(arg,...)()
  245. ChangeScanner()()
  246. ChangeRender()()
  247. ChangePrinter()()
  248. ##public
  249. *
  250. *------------------------------ 0.64 ---------------------------
  251. *
  252. PrepareNW(nw,width,height,scale)(a0/d0/d1/d2)
  253. *
  254. *------------------------------ 0.65 ---------------------------
  255. *
  256. GetPalette(reg,r,g,b)(d0/a0/a1/a2)
  257. *
  258. *------------------------------ 0.91 ---------------------------
  259. *
  260. ReadText(tag,count)(a0/d0)
  261. FreeText(textarray,count)(a0/d0)
  262. *
  263. *------------------------------ 0.92 ---------------------------
  264. *
  265. InitDither(ng1,ng2,ng3)(a0/a1/a2)
  266. FreeDither(dargs)(a0)
  267. DoDither(buf,dargs)(a0/a1)
  268. Help(file,node)(a0/a1)
  269. *
  270. *------------------------------ 0.93 ---------------------------
  271. *
  272. ##private
  273. AddWedge(wedgename,portname)()
  274. ##public
  275. AddRawWedge(wedgename,function,userdata)(a0/a1/a2)
  276. RemoveWedge(wedgename,portname)(a0/a1)
  277. RemoveAllWedges()()
  278. ##private
  279. DoWedge(wedgename,fmt,...)()
  280. ##public
  281. VDoRawWedge(wedgename,resultptr,vargs)(a0/a1/a2)
  282. QuickPix(planes,byteptr,bitptr,color,depth)(a0/a1/a2/d0/d1)
  283. QuickLine(planes,byteptr,bitptr,array,width,depth)(a0/a1/a2/a3/d0/d1)
  284. ##private
  285. HandleArexx()()
  286. ##public
  287. *
  288. *------------------------------ 0.94 ---------------------------
  289. *
  290. ##private
  291. OldReadArgsClone(argc,argv,template,array)()
  292. ReadArgsClone(stringptr,template,array)()
  293. FreeArgsClone(argstruct)()
  294. ##public
  295. GedWin(newwindow,newgad,id,init,free,text)(a0/a1/d0/a2/a3/a4)
  296. VMWriteAll(a)(a0)
  297. VMPageChanged(a,b)(a0/d0)
  298. VMGetPage(a,b)(a0/d0)
  299. ##private
  300. VMOpen()()
  301. VMClose()()
  302. ##public
  303. *
  304. *------------------------------ 0.95 ---------------------------
  305. *
  306. NumberRequest(title,low,high,default)(a0/d0/d1/d2)
  307. *
  308. *------------------------------ 0.98 ---------------------------
  309. *
  310. BFlush(bio)(a0)
  311. BSeek(bio,offset,mode)(a0/d0/d1)
  312. *
  313. *------------------------------ 0.99 ---------------------------
  314. *
  315. VPickFromList(a,b,c,d)(a0/d0/d1/a1)
  316. LangListRequest(a,b,c,d,e,f,g)(a0/a1/d0/d1/d2/d3/a2)
  317. TextListRequest(a,b,c,d,e)(a0/a1/d0/d1/d2)
  318. PickFromListA(a)(a0)
  319. CreateBlend(a)(a0)
  320. DeleteBlend(a)(a0)
  321. mixer(new,old,mix)(d0/d1/d2)
  322. *
  323. *------------------------------ 0.100 ---------------------------
  324. *
  325. GetBufLines(a,b,c,d,e,f)(a0/a1/a2/a3/d0/d1)
  326. PutBufLines(a,b,c)(a0/d0/d1)
  327. *
  328. *------------------------------ 0.104 ---------------------------
  329. *
  330. NewPreOverscan(ns,modeid)(a0/d0)
  331. *
  332. *------------------------------ 1.04 ---------------------------
  333. *
  334. FeatherEdges(mask)(a0)
  335. IsAnimation(fname,format)(a0/a1)
  336. LearnA(fmt,args)(a0/a1)
  337. NewGetPaletteStruct(palette,num)(a0/d0)
  338. SeparateBuffer(buffer,sepinfo,fname,format,args)(a0/a1/a2/a3/a4)
  339. *
  340. PrepareProcess(title,buffer,stripw,striph,flags)(a0/a1/d0/d1/d2)
  341. FinishProcess(procinfo)(a0)
  342. GetData(procinfo,topedge,height,offset)(a0/d0/d1/d2)
  343. PutData(procinfo,topedge,height,offset)(a0/d0/d1/d2)
  344. *
  345. EnableVMEM(enable)(d0)
  346. *
  347. LockBufLine(buffer,row)(a0/d0)
  348. UnlockBufLine(buffer,row)(a0/d0)
  349. *
  350. *------------------------------ 1.6 ---------------------------
  351. *
  352. CheckCloseness(red,green,blue)(d0/d1/d2)
  353. GetSourceArea(buffer,left,top,wid,ht)(a0/d0/d1/d2/d3)
  354. FreeSourceArea(buffer)(a0)
  355. GetPreset(widthptr,heightptr)(a0/a1)
  356. GetPresetBoth(widthptr,heightptr,axptr,ayptr)(a0/a1/a2/a3)
  357. GetPresetAspect(axptr,ayptr)(a0/a1)
  358. RedrawBrush()()
  359. RedrawCurrent()()
  360. *
  361. AllocVMem(size,attr,pagesize)(d0/d1/d2)
  362. FreeVMem(handle)(a0)
  363. GetVMem(handle,page)(a0/d0)
  364. PutVMem(handle,page)(a0/d0)
  365. LockVMem(handle,page)(a0/d0)
  366. UnlockVMem(handle,page)(a0/d0)
  367. *
  368. EGed_NewCreateA(newgad,text,taglist)(a0/a1/a2)
  369. EGed_NewDelete(context)(a0)
  370. EGed_Refresh(context,window)(a0/a1)
  371. EGed_Add(context,window)(a0/a1)
  372. EGed_Remove(context,window)(a0/a1)
  373. EGed_Activate(window,id)(a0/d0)
  374. EGed_Enable(window,id,enable)(a0/d0/d1)
  375. EGed_Select(window,id,select)(a0/d0/d1)
  376. EGed_Get(window,id)(a0/d0)
  377. EGed_Set(window,id,value)(a0/d0/d1)
  378. EGed_ChangeCycleList(window,id,newindex,newarray,newtext)(a0/d0/d1/a1/a2)
  379. EGed_ChangeLabel(window,id,newtext)(a0/d0/a1)
  380. EGed_ChangeSliderRange(window,id,low,high,initial)(a0/d0/d1/d2/d3)
  381. EGed_GetIMsg(window,code)(a0/a1)
  382. EGed_NewWindowA(newgad,text,taglist)(a0/a1/a2)
  383. EGed_GetGG(window,id)(a0/d0)
  384. *
  385. *------------------------------ 2.0 ---------------------------
  386. *
  387. CreatePreview(buf,width,height,flags)(a0/d0/d1/d2)
  388. DeletePreview(previnfo)(a0)
  389. DrawPreview(previnfo,rport,left,top)(a0/a1/d0/d1)
  390. * note a2/a1 reversed on this one:
  391. MakePreview(previnfo,buf,rport,left,top)(a0/a2/a1/d0/d1)
  392. DoPreviewWindowA(taglist)(a0)
  393. reserved1234()()
  394. *
  395. NewBrush(brush)(a0)
  396. *
  397. DrawBoxOnPreview(x1,y1,x2,y2)(d0/d1/d2/d3)
  398. DrawBoxOnPreview2(x1,y1,x2,y2)(d0/d1/d2/d3)
  399. *
  400. HandleBar()()
  401. *
  402. ##private
  403. NewAirbrush(array,width,height,future)(a0/d0/d1/a1)
  404. NewPen(array,width,height,future)(a0/d0/d1/a1)
  405. ##public
  406. *
  407. DrawLineOnPreview(x1,y1,x2,y2)(d0/d1/d2/d3)
  408. DrawOvalOnPreview(xc,yc,xr,yr)(d0/d1/d2/d3)
  409. *
  410. DrawInverseBox(window,x1,y1,x2,y2)(a0/d0/d1/d2/d3)
  411. DrawInverseLine(window,x1,y1,x2,y2)(a0/d0/d1/d2/d3)
  412. DrawInverseOval(window,xc,yc,xr,yr)(a0/d0/d1/d2/d3)
  413. *
  414. AllocMappedImage(width,height,depth,flags)(d0/d1/d2/d3)
  415. FreeMappedImage(img)(a0)
  416. *
  417. NewGetPreset(preset,title,flags)(a0/a1/d0)
  418. *
  419. AddBuffer(buffer)(a0)
  420. AddBrush(brush)(a0)
  421. Buffer2Back()()
  422. Brush2Back()()
  423. *
  424. ##end
  425.