Gdi32.dll
http://msdn.microsoft.com/en-us/library/windows/desktop/dd144909
COLORREF GetPixel(
_In_ HDC hdc,
_In_ int nXPos,
_In_ int nYPos
);
Public Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
这个 api ,如何用 Ruby::Fiddle 调用? 或有其他好办法吗?
一般 ruby2.0 里面是建议 Ruby::Fiddle 的吧 ?