개발/C++

[C++] DC (Device Context) ??

hojak99 2016. 8. 21. 09:56

프로젝트를 진행하면서 DC라는 것을 사용하게 되었는데 DC란 무엇일까?



DC란 device context의 약자인데 display, printer, meomory (or compatible), and information 이란다. 즉 이것들을 위한 구조체?라고 생각하면 된다.


그리고 DC를 제어하는 것을 HDC라고 한다. (handle device context)



HDC를 사용하려면 

#include <Windows.h>로 헤더파일 선언하면 된다.

반응형