Home
last modified time | relevance | path

Searched refs:m_Width (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp41 m_Width = 0; in Create()
65 m_Width = width; in Create()
78 m_Width = 0; in Create()
116 m_Width = pSrcBitmap->m_Width; in TakeOver()
154 for (int col = 0; col < m_Width; col++) { in Clear()
172 for (int i = 0; i < m_Width; i++) in Clear()
311 if (pSrcClone->GetWidth() != m_Width || in LoadChannel()
314 pAlphaMask = pAlphaMask->StretchTo(m_Width, m_Height, 0, nullptr); in LoadChannel()
321 } else if (pSrcClone->GetWidth() != m_Width || in LoadChannel()
324 pSrcClone->StretchTo(m_Width, m_Height, 0, nullptr); in LoadChannel()
[all …]
Dcfx_dibsource.cpp600 : m_Width(0), m_Height(0), m_bpp(0), m_AlphaFlag(0), m_Pitch(0) {} in CFX_DIBSource()
613 FX_RECT rect(0, 0, m_Width, m_Height); in Clone()
681 if (!m_pAlphaMask->Create(m_Width, m_Height, FXDIB_8bppMask)) { in BuildAlphaMask()
750 if (dest_left > m_Width || dest_top > m_Height) { in GetOverlapRect()
762 FX_RECT dest_bound(0, 0, m_Width, m_Height); in GetOverlapRect()
807 FX_RECT rect(0, 0, m_Width, m_Height); in CloneAlphaMask()
833 FX_RECT rect(0, 0, pAlphaMask->m_Width, pAlphaMask->m_Height); in SetAlphaMask()
836 if (rect.IsEmpty() || rect.Width() != m_Width || in SetAlphaMask()
841 if (pAlphaMask->m_Width != m_Width || pAlphaMask->m_Height != m_Height) in SetAlphaMask()
855 if (!pFlipped->Create(m_Width, m_Height, GetFormat())) in FlipImage()
[all …]
Dcfx_filtereddib.cpp17 m_Width = pSrc->GetWidth(); in LoadSrc()
22 m_Pitch = (m_Width * (format & 0xff) + 31) / 32 * 4; in LoadSrc()
Dcfx_dibsource.h47 int GetWidth() const { return m_Width; } in GetWidth()
127 int m_Width; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp158 m_Width = m_pDict->GetIntegerFor("Width"); in Load()
160 if (m_Width <= 0 || m_Height <= 0 || m_Width > kMaxImageDimension || in Load()
173 CalculatePitch8(m_bpc, m_nComponents, m_Width) * m_Height; in Load()
197 FX_SAFE_UINT32 pitch = CalculatePitch32(m_bpp, m_Width); in Load()
206 pitch = CalculatePitch32(m_bpp, m_Width); in Load()
232 FX_SAFE_UINT32 pitch = CalculatePitch32(m_bpp, m_Width); in ContinueToLoadMask()
244 pitch = CalculatePitch32(m_bpp, m_Width); in ContinueToLoadMask()
269 m_Width = m_pDict->GetIntegerFor("Width"); in StartLoadDIBSource()
271 if (m_Width <= 0 || m_Height <= 0 || m_Width > kMaxImageDimension || in StartLoadDIBSource()
285 CalculatePitch8(m_bpc, m_nComponents, m_Width) * m_Height; in StartLoadDIBSource()
[all …]
Dcpdf_dibtransferfunc.cpp52 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
72 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
83 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
104 for (int i = 0; i < m_Width; i++) in TranslateScanline()
110 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
124 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp26 path.AppendRect(0, 0, (float)m_Width, (float)m_Height); in RenderDeviceResult()
32 leftPos = (m_Width - m_output->GetWidth()) / 2; in RenderDeviceResult()
36 if (m_Width < m_output->GetWidth() && m_Height < m_output->GetHeight()) { in RenderDeviceResult()
37 CFX_Matrix matriScale((float)m_Width / (float)m_output->GetWidth(), 0.0, in RenderDeviceResult()
78 if (m_Width < outputWidth || m_Height < outputHeight) { in RenderResult()
82 if (m_Width > outputWidth || m_Height > outputHeight) { in RenderResult()
84 (int32_t)(outputWidth * ceil((float)m_Width / (float)outputWidth)); in RenderResult()
DBC_Writer.cpp14 m_Width = 640; in CBC_Writer()
43 m_Width = width; in SetWidth()
DBC_Writer.h33 int32_t m_Width; variable
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp73 m_Width = FXSYS_round(TextUnitToGlyphUnit(pData[0])); in InitializeFromStreamData()
81 m_Width = m_Width * matrix.GetXUnit() + 0.5f; in Transform()
Dcpdf_type3char.h41 int width() const { return m_Width; } in width()
49 int m_Width = 0; variable
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp190 if (geWidth != m_Width) { in ShowDeviceChars()
270 path.AppendRect(0, 0, static_cast<float>(m_Width), in RenderDeviceResult()
300 m_Width > 0 ? static_cast<float>(m_Width) / static_cast<float>(codeLength) in RenderResult()
305 m_barWidth = m_Width; in RenderResult()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.h39 int32_t GetPixelWidth() const { return m_Width; } in GetPixelWidth()
75 int32_t m_Width = 0; variable
Dcpdf_image.cpp64 m_Width = m_pDict->GetIntegerFor("Width"); in FinishInitialization()
118 m_Width = width; in InitJPEG()
324 m_Width = BitmapWidth; in SetImage()
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp337 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CPSPrinterDriver()
341 m_PSRenderer.Init(pdfium::MakeRetain<CPSOutput>(m_hDC), pslevel, m_Width, in CPSPrinterDriver()
377 return m_Width; in GetDeviceCaps()
497 m_Width(INT_MAX), in CTextOnlyPrinterDriver()
515 return m_Width; in GetDeviceCaps()
564 pRect->right = m_Width; in GetClipBox()
Dwin32_int.h182 int m_Width; variable
327 int m_Width; variable
389 int m_Width; variable
Dfx_win32_dib.cpp209 ::BitBlt(m_hMemDC, 0, 0, m_Width, m_Height, hDC, left, top, SRCCOPY); in LoadFromDevice()
213 ::BitBlt(hDC, left, top, m_Width, m_Height, m_hMemDC, 0, 0, SRCCOPY); in SetToDevice()
Dfx_win32_device.cpp735 m_Width = bitmap.bmWidth; in CGdiDeviceDriver()
741 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CGdiDeviceDriver()
758 return m_Width; in GetDeviceCaps()
925 int startOutOfBoundsFlag = (x1 < 0) | ((x1 > m_Width) << 1) | in DrawLine()
927 int endOutOfBoundsFlag = (x2 < 0) | ((x2 > m_Width) << 1) | in DrawLine()
939 rect_base rect = {0.0f, 0.0f, (float)(m_Width), (float)(m_Height)}; in DrawLine()
942 agg::rect_base<float> rect(0.0f, 0.0f, (float)(m_Width), in DrawLine()
/external/pdfium/core/fxge/
Dcfx_renderdevice.h111 int GetWidth() const { return m_Width; } in GetWidth()
296 int m_Width; variable
Dcfx_renderdevice.cpp371 m_Width(0), in CFX_RenderDevice()
400 m_Width = m_pDeviceDriver->GetDeviceCaps(FXDC_PIXEL_WIDTH); in InitDeviceInfo()
408 m_ClipBox.right = m_Width; in InitDeviceInfo()
506 m_ClipBox.right = m_Width; in UpdateClipBox()
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417Writer.cpp55 int32_t col = (m_Width / m_ModuleWidth - 69) / 17; in Encode()