Exemple #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));
 }
Exemple #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));
 }
Exemple #3
0
 internal static bool WriteXYZ(IntPtr handle, CIEXYZ xyz)
 {
     return(WriteXYZNumber_Internal(handle, xyz) != 0);
 }
Exemple #4
0
 private static extern int WriteXYZNumber_Internal(
     IntPtr handle,
     CIEXYZ xyz);
Exemple #5
0
 internal static bool ReadXYZ(IntPtr handle, ref CIEXYZ xyz)
 {
     return(ReadXYZNumber_Internal(handle, ref xyz) != 0);
 }
Exemple #6
0
 private static extern int ReadXYZNumber_Internal(
     IntPtr handle,
     ref CIEXYZ xyz);