Lines Matching defs:pArray
304 CPDF_Array* pArray = pAnnotDict->GetArray("QuadPoints");
305 if (!pArray)
307 return pArray->GetCount() / 8;
317 CPDF_Array* pArray = pAnnotDict->GetArray("QuadPoints");
318 if (pArray) {
319 if (quadIndex < 0 || quadIndex >= (int)pArray->GetCount() / 8 ||
320 ((quadIndex * 8 + 7) >= (int)pArray->GetCount()))
322 quadPoints->x1 = pArray->GetNumber(quadIndex * 8);
323 quadPoints->y1 = pArray->GetNumber(quadIndex * 8 + 1);
324 quadPoints->x2 = pArray->GetNumber(quadIndex * 8 + 2);
325 quadPoints->y2 = pArray->GetNumber(quadIndex * 8 + 3);
326 quadPoints->x3 = pArray->GetNumber(quadIndex * 8 + 4);
327 quadPoints->y3 = pArray->GetNumber(quadIndex * 8 + 5);
328 quadPoints->x4 = pArray->GetNumber(quadIndex * 8 + 6);
329 quadPoints->y4 = pArray->GetNumber(quadIndex * 8 + 7);