Archive Browser
Download CmykRgbColorConversion.zip, last updated 15/07/2018 (19.21 KB)
Download- md5: 1258961adc735c8388f9b35d867df7c6
- sha1: 1e01eb8723aac6632f1c0fff5fb57f524116329c
- sha256: cfc2141a0f0820962621bc35e10882e648c95496751b65ded610a0009faae5a6
using System;
using System.Runtime.InteropServices;
/* Finding nearest colors using Euclidean distance
* http://www.cyotek.com/blog/finding-nearest-colors-using-euclidean-distance
*
* Copyright © 2017 Cyotek Ltd.
*/
// ReSharper disable InconsistentNaming
namespace Cyotek.Demo.CmykRgbColorConversion
{
internal static class NativeMethods
{
#region Externals
[DllImport("user32.dll")]
public static extern bool DrawFocusRect(IntPtr hDC, [In] ref RECT lprc);
#endregion
#region Nested type: RECT
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int left;
public int top;
public int right;
public int bottom;
public RECT(int left, int top, int right, int bottom)
{
this.left = left;
this.top = top;
this.right = right;
this.bottom = bottom;
}
}
#endregion
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate