From bd13fa3f9396f1f681759f4623c55d5f91d74a9c Mon Sep 17 00:00:00 2001
From: LYW <leeyeanwoo@diteam.co.kr>
Date: 목, 29 7월 2021 11:42:19 +0900
Subject: [PATCH] Ongoing90 #3524 CF AOI Review 디포커스 알람 추가 및 FDC 보고 방식 개선

---
 ReviewHistory/include/akGraph/akPixel.h |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/ReviewHistory/include/akGraph/akPixel.h b/ReviewHistory/include/akGraph/akPixel.h
new file mode 100644
index 0000000..4f92f9d
--- /dev/null
+++ b/ReviewHistory/include/akGraph/akPixel.h
@@ -0,0 +1,34 @@
+#pragma once
+
+#include "akGraph/akGraphLinker.h"
+
+class AFX_EXT_CLASS CakPixel
+{
+public:
+	CakPixel(CDC* pSrc);
+	~CakPixel();
+	COLORREF GetPixel(int x, int y);
+	BYTE* GetPixelSrc(int x, int y);
+
+	LPVOID	GetBitmapBits(){return m_pBits;};
+	BITMAPINFO* GetBitmapInfo(){return m_pbmi;};
+
+protected:
+	CakPixel();
+	LPVOID m_pBits; 
+	int m_nBytePerLine;
+	BITMAPINFO* m_pbmi;
+	int m_nDepth;
+
+	COLORREF (CakPixel::*m_pGetPixel)(int x, int y);
+
+	COLORREF GetPixel8(int x, int y);
+
+	COLORREF GetPixel16(int x, int y);
+	COLORREF GetPixel24(int x, int y);
+	COLORREF GetPixel32(int x, int y);
+
+	COLORREF GetPixel16ByTable555(int x, int y);
+	COLORREF GetPixel16ByTable565(int x, int y);
+	COLORREF GetPixel32ByTable(int x, int y);
+};
\ No newline at end of file

--
Gitblit v1.9.3