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