xcms.nim 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. import
  2. x, xlib
  3. #const
  4. # libX11* = "X11"
  5. #
  6. # Automatically converted by H2Pas 0.99.15 from xcms.h
  7. # The following command line parameters were used:
  8. # -p
  9. # -T
  10. # -S
  11. # -d
  12. # -c
  13. # xcms.h
  14. #
  15. const
  16. XcmsFailure* = 0
  17. XcmsSuccess* = 1
  18. XcmsSuccessWithCompression* = 2
  19. type
  20. PXcmsColorFormat* = ptr TXcmsColorFormat
  21. TXcmsColorFormat* = int32
  22. proc XcmsUndefinedFormat*(): TXcmsColorFormat
  23. proc XcmsCIEXYZFormat*(): TXcmsColorFormat
  24. proc XcmsCIEuvYFormat*(): TXcmsColorFormat
  25. proc XcmsCIExyYFormat*(): TXcmsColorFormat
  26. proc XcmsCIELabFormat*(): TXcmsColorFormat
  27. proc XcmsCIELuvFormat*(): TXcmsColorFormat
  28. proc XcmsTekHVCFormat*(): TXcmsColorFormat
  29. proc XcmsRGBFormat*(): TXcmsColorFormat
  30. proc XcmsRGBiFormat*(): TXcmsColorFormat
  31. const
  32. XcmsInitNone* = 0x00000000
  33. XcmsInitSuccess* = 0x00000001
  34. XcmsInitFailure* = 0x000000FF
  35. type
  36. PXcmsFloat* = ptr TXcmsFloat
  37. TXcmsFloat* = float64
  38. PXcmsRGB* = ptr TXcmsRGB
  39. TXcmsRGB*{.final.} = object
  40. red*: int16
  41. green*: int16
  42. blue*: int16
  43. PXcmsRGBi* = ptr TXcmsRGBi
  44. TXcmsRGBi*{.final.} = object
  45. red*: TXcmsFloat
  46. green*: TXcmsFloat
  47. blue*: TXcmsFloat
  48. PXcmsCIEXYZ* = ptr TXcmsCIEXYZ
  49. TXcmsCIEXYZ*{.final.} = object
  50. X*: TXcmsFloat
  51. Y*: TXcmsFloat
  52. Z*: TXcmsFloat
  53. PXcmsCIEuvY* = ptr TXcmsCIEuvY
  54. TXcmsCIEuvY*{.final.} = object
  55. u_prime*: TXcmsFloat
  56. v_prime*: TXcmsFloat
  57. Y*: TXcmsFloat
  58. PXcmsCIExyY* = ptr TXcmsCIExyY
  59. TXcmsCIExyY*{.final.} = object
  60. x*: TXcmsFloat
  61. y*: TXcmsFloat
  62. theY*: TXcmsFloat
  63. PXcmsCIELab* = ptr TXcmsCIELab
  64. TXcmsCIELab*{.final.} = object
  65. L_star*: TXcmsFloat
  66. a_star*: TXcmsFloat
  67. b_star*: TXcmsFloat
  68. PXcmsCIELuv* = ptr TXcmsCIELuv
  69. TXcmsCIELuv*{.final.} = object
  70. L_star*: TXcmsFloat
  71. u_star*: TXcmsFloat
  72. v_star*: TXcmsFloat
  73. PXcmsTekHVC* = ptr TXcmsTekHVC
  74. TXcmsTekHVC*{.final.} = object
  75. H*: TXcmsFloat
  76. V*: TXcmsFloat
  77. C*: TXcmsFloat
  78. PXcmsPad* = ptr TXcmsPad
  79. TXcmsPad*{.final.} = object
  80. pad0*: TXcmsFloat
  81. pad1*: TXcmsFloat
  82. pad2*: TXcmsFloat
  83. pad3*: TXcmsFloat
  84. PXcmsColor* = ptr TXcmsColor
  85. TXcmsColor*{.final.} = object # spec : record
  86. # case longint of
  87. # 0 : ( RGB : TXcmsRGB );
  88. # 1 : ( RGBi : TXcmsRGBi );
  89. # 2 : ( CIEXYZ : TXcmsCIEXYZ );
  90. # 3 : ( CIEuvY : TXcmsCIEuvY );
  91. # 4 : ( CIExyY : TXcmsCIExyY );
  92. # 5 : ( CIELab : TXcmsCIELab );
  93. # 6 : ( CIELuv : TXcmsCIELuv );
  94. # 7 : ( TekHVC : TXcmsTekHVC );
  95. # 8 : ( Pad : TXcmsPad );
  96. # end;
  97. pad*: TXcmsPad
  98. pixel*: int32
  99. format*: TXcmsColorFormat
  100. PXcmsPerScrnInfo* = ptr TXcmsPerScrnInfo
  101. TXcmsPerScrnInfo*{.final.} = object
  102. screenWhitePt*: TXcmsColor
  103. functionSet*: TXPointer
  104. screenData*: TXPointer
  105. state*: int8
  106. pad*: array[0..2, char]
  107. PXcmsCCC* = ptr TXcmsCCC
  108. TXcmsCompressionProc* = proc (para1: PXcmsCCC, para2: PXcmsColor,
  109. para3: int32, para4: int32, para5: PBool): TStatus{.
  110. cdecl.}
  111. TXcmsWhiteAdjustProc* = proc (para1: PXcmsCCC, para2: PXcmsColor,
  112. para3: PXcmsColor, para4: TXcmsColorFormat,
  113. para5: PXcmsColor, para6: int32, para7: PBool): TStatus{.
  114. cdecl.}
  115. TXcmsCCC*{.final.} = object
  116. dpy*: PDisplay
  117. screenNumber*: int32
  118. visual*: PVisual
  119. clientWhitePt*: TXcmsColor
  120. gamutCompProc*: TXcmsCompressionProc
  121. gamutCompClientData*: TXPointer
  122. whitePtAdjProc*: TXcmsWhiteAdjustProc
  123. whitePtAdjClientData*: TXPointer
  124. pPerScrnInfo*: PXcmsPerScrnInfo
  125. TXcmsCCCRec* = TXcmsCCC
  126. PXcmsCCCRec* = ptr TXcmsCCCRec
  127. TXcmsScreenInitProc* = proc (para1: PDisplay, para2: int32,
  128. para3: PXcmsPerScrnInfo): TStatus{.cdecl.}
  129. TXcmsScreenFreeProc* = proc (para1: TXPointer){.cdecl.}
  130. TXcmsConversionProc* = proc (){.cdecl.}
  131. PXcmsFuncListPtr* = ptr TXcmsFuncListPtr
  132. TXcmsFuncListPtr* = TXcmsConversionProc
  133. TXcmsParseStringProc* = proc (para1: cstring, para2: PXcmsColor): int32{.cdecl.}
  134. PXcmsColorSpace* = ptr TXcmsColorSpace
  135. TXcmsColorSpace*{.final.} = object
  136. prefix*: cstring
  137. id*: TXcmsColorFormat
  138. parseString*: TXcmsParseStringProc
  139. to_CIEXYZ*: TXcmsFuncListPtr
  140. from_CIEXYZ*: TXcmsFuncListPtr
  141. inverse_flag*: int32
  142. PXcmsFunctionSet* = ptr TXcmsFunctionSet
  143. TXcmsFunctionSet*{.final.} = object # error
  144. #extern Status XcmsAddColorSpace (
  145. #in declaration at line 323
  146. DDColorSpaces*: ptr PXcmsColorSpace
  147. screenInitProc*: TXcmsScreenInitProc
  148. screenFreeProc*: TXcmsScreenFreeProc
  149. proc XcmsAddFunctionSet*(para1: PXcmsFunctionSet): TStatus{.cdecl,
  150. dynlib: libX11, importc.}
  151. proc XcmsAllocColor*(para1: PDisplay, para2: TColormap, para3: PXcmsColor,
  152. para4: TXcmsColorFormat): TStatus{.cdecl, dynlib: libX11,
  153. importc.}
  154. proc XcmsAllocNamedColor*(para1: PDisplay, para2: TColormap, para3: cstring,
  155. para4: PXcmsColor, para5: PXcmsColor,
  156. para6: TXcmsColorFormat): TStatus{.cdecl,
  157. dynlib: libX11, importc.}
  158. proc XcmsCCCOfColormap*(para1: PDisplay, para2: TColormap): TXcmsCCC{.cdecl,
  159. dynlib: libX11, importc.}
  160. proc XcmsCIELabClipab*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  161. para4: int32, para5: PBool): TStatus{.cdecl,
  162. dynlib: libX11, importc.}
  163. proc XcmsCIELabClipL*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  164. para4: int32, para5: PBool): TStatus{.cdecl,
  165. dynlib: libX11, importc.}
  166. proc XcmsCIELabClipLab*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  167. para4: int32, para5: PBool): TStatus{.cdecl,
  168. dynlib: libX11, importc.}
  169. proc XcmsCIELabQueryMaxC*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  170. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  171. importc.}
  172. proc XcmsCIELabQueryMaxL*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  173. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  174. importc.}
  175. proc XcmsCIELabQueryMaxLC*(para1: TXcmsCCC, para2: TXcmsFloat, para3: PXcmsColor): TStatus{.
  176. cdecl, dynlib: libX11, importc.}
  177. proc XcmsCIELabQueryMinL*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  178. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  179. importc.}
  180. proc XcmsCIELabToCIEXYZ*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  181. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  182. proc XcmsCIELabWhiteShiftColors*(para1: TXcmsCCC, para2: PXcmsColor,
  183. para3: PXcmsColor, para4: TXcmsColorFormat,
  184. para5: PXcmsColor, para6: int32, para7: PBool): TStatus{.
  185. cdecl, dynlib: libX11, importc.}
  186. proc XcmsCIELuvClipL*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  187. para4: int32, para5: PBool): TStatus{.cdecl,
  188. dynlib: libX11, importc.}
  189. proc XcmsCIELuvClipLuv*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  190. para4: int32, para5: PBool): TStatus{.cdecl,
  191. dynlib: libX11, importc.}
  192. proc XcmsCIELuvClipuv*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  193. para4: int32, para5: PBool): TStatus{.cdecl,
  194. dynlib: libX11, importc.}
  195. proc XcmsCIELuvQueryMaxC*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  196. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  197. importc.}
  198. proc XcmsCIELuvQueryMaxL*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  199. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  200. importc.}
  201. proc XcmsCIELuvQueryMaxLC*(para1: TXcmsCCC, para2: TXcmsFloat, para3: PXcmsColor): TStatus{.
  202. cdecl, dynlib: libX11, importc.}
  203. proc XcmsCIELuvQueryMinL*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  204. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  205. importc.}
  206. proc XcmsCIELuvToCIEuvY*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  207. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  208. proc XcmsCIELuvWhiteShiftColors*(para1: TXcmsCCC, para2: PXcmsColor,
  209. para3: PXcmsColor, para4: TXcmsColorFormat,
  210. para5: PXcmsColor, para6: int32, para7: PBool): TStatus{.
  211. cdecl, dynlib: libX11, importc.}
  212. proc XcmsCIEXYZToCIELab*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  213. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  214. proc XcmsCIEXYZToCIEuvY*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  215. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  216. proc XcmsCIEXYZToCIExyY*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  217. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  218. proc XcmsCIEXYZToRGBi*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  219. para4: PBool): TStatus{.cdecl, dynlib: libX11, importc.}
  220. proc XcmsCIEuvYToCIELuv*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  221. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  222. proc XcmsCIEuvYToCIEXYZ*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  223. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  224. proc XcmsCIEuvYToTekHVC*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  225. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  226. proc XcmsCIExyYToCIEXYZ*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  227. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  228. proc XcmsClientWhitePointOfCCC*(para1: TXcmsCCC): PXcmsColor{.cdecl,
  229. dynlib: libX11, importc.}
  230. proc XcmsConvertColors*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  231. para4: TXcmsColorFormat, para5: PBool): TStatus{.cdecl,
  232. dynlib: libX11, importc.}
  233. proc XcmsCreateCCC*(para1: PDisplay, para2: int32, para3: PVisual,
  234. para4: PXcmsColor, para5: TXcmsCompressionProc,
  235. para6: TXPointer, para7: TXcmsWhiteAdjustProc,
  236. para8: TXPointer): TXcmsCCC{.cdecl, dynlib: libX11, importc.}
  237. proc XcmsDefaultCCC*(para1: PDisplay, para2: int32): TXcmsCCC{.cdecl,
  238. dynlib: libX11, importc.}
  239. proc XcmsDisplayOfCCC*(para1: TXcmsCCC): PDisplay{.cdecl, dynlib: libX11,
  240. importc.}
  241. proc XcmsFormatOfPrefix*(para1: cstring): TXcmsColorFormat{.cdecl,
  242. dynlib: libX11, importc.}
  243. proc XcmsFreeCCC*(para1: TXcmsCCC){.cdecl, dynlib: libX11, importc.}
  244. proc XcmsLookupColor*(para1: PDisplay, para2: TColormap, para3: cstring,
  245. para4: PXcmsColor, para5: PXcmsColor,
  246. para6: TXcmsColorFormat): TStatus{.cdecl, dynlib: libX11,
  247. importc.}
  248. proc XcmsPrefixOfFormat*(para1: TXcmsColorFormat): cstring{.cdecl,
  249. dynlib: libX11, importc.}
  250. proc XcmsQueryBlack*(para1: TXcmsCCC, para2: TXcmsColorFormat, para3: PXcmsColor): TStatus{.
  251. cdecl, dynlib: libX11, importc.}
  252. proc XcmsQueryBlue*(para1: TXcmsCCC, para2: TXcmsColorFormat, para3: PXcmsColor): TStatus{.
  253. cdecl, dynlib: libX11, importc.}
  254. proc XcmsQueryColor*(para1: PDisplay, para2: TColormap, para3: PXcmsColor,
  255. para4: TXcmsColorFormat): TStatus{.cdecl, dynlib: libX11,
  256. importc.}
  257. proc XcmsQueryColors*(para1: PDisplay, para2: TColormap, para3: PXcmsColor,
  258. para4: int32, para5: TXcmsColorFormat): TStatus{.cdecl,
  259. dynlib: libX11, importc.}
  260. proc XcmsQueryGreen*(para1: TXcmsCCC, para2: TXcmsColorFormat, para3: PXcmsColor): TStatus{.
  261. cdecl, dynlib: libX11, importc.}
  262. proc XcmsQueryRed*(para1: TXcmsCCC, para2: TXcmsColorFormat, para3: PXcmsColor): TStatus{.
  263. cdecl, dynlib: libX11, importc.}
  264. proc XcmsQueryWhite*(para1: TXcmsCCC, para2: TXcmsColorFormat, para3: PXcmsColor): TStatus{.
  265. cdecl, dynlib: libX11, importc.}
  266. proc XcmsRGBiToCIEXYZ*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  267. para4: PBool): TStatus{.cdecl, dynlib: libX11, importc.}
  268. proc XcmsRGBiToRGB*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  269. para4: PBool): TStatus{.cdecl, dynlib: libX11, importc.}
  270. proc XcmsRGBToRGBi*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  271. para4: PBool): TStatus{.cdecl, dynlib: libX11, importc.}
  272. proc XcmsScreenNumberOfCCC*(para1: TXcmsCCC): int32{.cdecl, dynlib: libX11,
  273. importc.}
  274. proc XcmsScreenWhitePointOfCCC*(para1: TXcmsCCC): PXcmsColor{.cdecl,
  275. dynlib: libX11, importc.}
  276. proc XcmsSetCCCOfColormap*(para1: PDisplay, para2: TColormap, para3: TXcmsCCC): TXcmsCCC{.
  277. cdecl, dynlib: libX11, importc.}
  278. proc XcmsSetCompressionProc*(para1: TXcmsCCC, para2: TXcmsCompressionProc,
  279. para3: TXPointer): TXcmsCompressionProc{.cdecl,
  280. dynlib: libX11, importc.}
  281. proc XcmsSetWhiteAdjustProc*(para1: TXcmsCCC, para2: TXcmsWhiteAdjustProc,
  282. para3: TXPointer): TXcmsWhiteAdjustProc{.cdecl,
  283. dynlib: libX11, importc.}
  284. proc XcmsSetWhitePoint*(para1: TXcmsCCC, para2: PXcmsColor): TStatus{.cdecl,
  285. dynlib: libX11, importc.}
  286. proc XcmsStoreColor*(para1: PDisplay, para2: TColormap, para3: PXcmsColor): TStatus{.
  287. cdecl, dynlib: libX11, importc.}
  288. proc XcmsStoreColors*(para1: PDisplay, para2: TColormap, para3: PXcmsColor,
  289. para4: int32, para5: PBool): TStatus{.cdecl,
  290. dynlib: libX11, importc.}
  291. proc XcmsTekHVCClipC*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  292. para4: int32, para5: PBool): TStatus{.cdecl,
  293. dynlib: libX11, importc.}
  294. proc XcmsTekHVCClipV*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  295. para4: int32, para5: PBool): TStatus{.cdecl,
  296. dynlib: libX11, importc.}
  297. proc XcmsTekHVCClipVC*(para1: TXcmsCCC, para2: PXcmsColor, para3: int32,
  298. para4: int32, para5: PBool): TStatus{.cdecl,
  299. dynlib: libX11, importc.}
  300. proc XcmsTekHVCQueryMaxC*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  301. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  302. importc.}
  303. proc XcmsTekHVCQueryMaxV*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  304. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  305. importc.}
  306. proc XcmsTekHVCQueryMaxVC*(para1: TXcmsCCC, para2: TXcmsFloat, para3: PXcmsColor): TStatus{.
  307. cdecl, dynlib: libX11, importc.}
  308. proc XcmsTekHVCQueryMaxVSamples*(para1: TXcmsCCC, para2: TXcmsFloat,
  309. para3: PXcmsColor, para4: int32): TStatus{.
  310. cdecl, dynlib: libX11, importc.}
  311. proc XcmsTekHVCQueryMinV*(para1: TXcmsCCC, para2: TXcmsFloat, para3: TXcmsFloat,
  312. para4: PXcmsColor): TStatus{.cdecl, dynlib: libX11,
  313. importc.}
  314. proc XcmsTekHVCToCIEuvY*(para1: TXcmsCCC, para2: PXcmsColor, para3: PXcmsColor,
  315. para4: int32): TStatus{.cdecl, dynlib: libX11, importc.}
  316. proc XcmsTekHVCWhiteShiftColors*(para1: TXcmsCCC, para2: PXcmsColor,
  317. para3: PXcmsColor, para4: TXcmsColorFormat,
  318. para5: PXcmsColor, para6: int32, para7: PBool): TStatus{.
  319. cdecl, dynlib: libX11, importc.}
  320. proc XcmsVisualOfCCC*(para1: TXcmsCCC): PVisual{.cdecl, dynlib: libX11, importc.}
  321. # implementation
  322. proc XcmsUndefinedFormat(): TXcmsColorFormat =
  323. result = 0x00000000'i32
  324. proc XcmsCIEXYZFormat(): TXcmsColorFormat =
  325. result = 0x00000001'i32
  326. proc XcmsCIEuvYFormat(): TXcmsColorFormat =
  327. result = 0x00000002'i32
  328. proc XcmsCIExyYFormat(): TXcmsColorFormat =
  329. result = 0x00000003'i32
  330. proc XcmsCIELabFormat(): TXcmsColorFormat =
  331. result = 0x00000004'i32
  332. proc XcmsCIELuvFormat(): TXcmsColorFormat =
  333. result = 0x00000005'i32
  334. proc XcmsTekHVCFormat(): TXcmsColorFormat =
  335. result = 0x00000006'i32
  336. proc XcmsRGBFormat(): TXcmsColorFormat =
  337. result = 0x80000000'i32
  338. proc XcmsRGBiFormat(): TXcmsColorFormat =
  339. result = 0x80000001'i32
  340. #when defined(MACROS):
  341. proc DisplayOfCCC(ccc: TXcmsCCC): PDisplay =
  342. result = ccc.dpy
  343. proc ScreenNumberOfCCC(ccc: TXcmsCCC): int32 =
  344. result = ccc.screenNumber
  345. proc VisualOfCCC(ccc: TXcmsCCC): PVisual =
  346. result = ccc.visual
  347. proc ClientWhitePointOfCCC(ccc: var TXcmsCCC): ptr TXcmsColor =
  348. result = addr(ccc.clientWhitePt)
  349. proc ScreenWhitePointOfCCC(ccc: var TXcmsCCC): ptr TXcmsColor =
  350. result = addr(ccc.pPerScrnInfo.screenWhitePt)
  351. proc FunctionSetOfCCC(ccc: TXcmsCCC): TXpointer =
  352. result = ccc.pPerScrnInfo.functionSet