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.cpp101 m_nCoordBits(0), in CPDF_MeshStream()
123 m_nCoordBits = pDict->GetIntegerFor("BitsPerCoordinate"); in Load()
126 if (!IsValidBitsPerCoordinate(m_nCoordBits)) in Load()
155 m_CoordMax = m_nCoordBits == 32 ? -1 : (1 << m_nCoordBits) - 1; in Load()
166 return m_BitStream->BitsRemaining() / 2 >= m_nCoordBits; in CanReadCoords()
182 if (m_nCoordBits == 32) { in ReadCoords()
183 pos.x = m_xmin + m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / in ReadCoords()
185 pos.y = m_ymin + m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / in ReadCoords()
189 m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / m_CoordMax; in ReadCoords()
191 m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / m_CoordMax; in ReadCoords()
Dcpdf_meshstream.h71 uint32_t m_nCoordBits; variable