Home
last modified time | relevance | path

Searched refs:m_nCoordBits (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.cpp106 m_nCoordBits(0), in CPDF_MeshStream()
127 m_nCoordBits = pDict->GetIntegerFor("BitsPerCoordinate"); in Load()
130 if (!IsValidBitsPerCoordinate(m_nCoordBits)) in Load()
159 m_CoordMax = m_nCoordBits == 32 ? -1 : (1 << m_nCoordBits) - 1; in Load()
170 return m_BitStream->BitsRemaining() / 2 >= m_nCoordBits; in CanReadCoords()
186 if (m_nCoordBits == 32) { in ReadCoords()
187 pos.x = m_xmin + m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / in ReadCoords()
189 pos.y = m_ymin + m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / in ReadCoords()
193 m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / m_CoordMax; in ReadCoords()
195 m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / m_CoordMax; in ReadCoords()
Dcpdf_meshstream.h73 uint32_t m_nCoordBits; variable