Searched refs:hdc_ (Results 1 – 2 of 2) sorted by relevance
23 hdc_(GetDC(hwnd)) { in ScopedGetDC()26 DCHECK(hdc_); in ScopedGetDC()31 CHECK(hdc_); in ScopedGetDC()36 if (hdc_) in ~ScopedGetDC()37 ReleaseDC(hwnd_, hdc_); in ~ScopedGetDC()40 operator HDC() { return hdc_; } in HDC()44 HDC hdc_; variable
20 : hdc_(hdc), in ScopedSelectObject()22 DCHECK(hdc_); in ScopedSelectObject()28 HGDIOBJ object = SelectObject(hdc_, oldobj_); in ~ScopedSelectObject()34 HDC hdc_;