Home | History | Annotate | Download | only in parser

Lines Matching defs:hDC

213 void InsertWidthArray(HDC hDC, int start, int end, CPDF_Array* pWidthArray) {
216 GetCharWidth(hDC, start, end, widths);
220 ByteString FPDF_GetPSNameFromTT(HDC hDC) {
222 DWORD size = ::GetFontData(hDC, 'eman', 0, nullptr, 0);
225 ::GetFontData(hDC, 'eman', 0, buffer, size);
977 HDC hDC = CreateCompatibleDC(nullptr);
978 hFont = SelectObject(hDC, hFont);
979 int tm_size = GetOutlineTextMetrics(hDC, 0, nullptr);
981 hFont = SelectObject(hDC, hFont);
983 DeleteDC(hDC);
989 GetOutlineTextMetrics(hDC, tm_size, ptm);
1002 basefont = FPDF_GetPSNameFromTT(hDC);
1027 GetCharWidth(hDC, 32, 255, char_widths);
1036 [&hDC](wchar_t start, wchar_t end, CPDF_Array* widthArr) {
1037 InsertWidthArray(hDC, start, end, widthArr);
1050 hFont = SelectObject(hDC, hFont);
1052 DeleteDC(hDC);