Beispiel #1
0
 /// <summary>
 /// Writes an XYZ tristimulus value.
 /// </summary>
 /// <param name="xyz">The XYZ tristimulus value to be written.</param>
 /// <returns>true if successful, otherwise false.</returns>
 public bool Write(CIEXYZ xyz)
 {
     return(Interop.WriteXYZ(handle, xyz));
 }
Beispiel #2
0
 /// <summary>
 /// Reads an XYZ tristimulus value.
 /// </summary>
 /// <param name="xyz">Returns the XYZ tristimulus value.</param>
 /// <returns>true if successful, otherwise false.</returns>
 public bool Read(ref CIEXYZ xyz)
 {
     return(Interop.ReadXYZ(handle, ref xyz));
 }
Beispiel #3
0
 internal static bool WriteXYZ(IntPtr handle, CIEXYZ xyz)
 {
     return(WriteXYZNumber_Internal(handle, xyz) != 0);
 }
Beispiel #4
0
 private static extern int WriteXYZNumber_Internal(
     IntPtr handle,
     CIEXYZ xyz);
Beispiel #5
0
 internal static bool ReadXYZ(IntPtr handle, ref CIEXYZ xyz)
 {
     return(ReadXYZNumber_Internal(handle, ref xyz) != 0);
 }
Beispiel #6
0
 private static extern int ReadXYZNumber_Internal(
     IntPtr handle,
     ref CIEXYZ xyz);