Home
last modified time | relevance | path

Searched refs:FX_RECT (Results 1 – 25 of 68) sorted by relevance

123

/external/pdfium/core/src/reflow/
Dautoreflow.h22 FX_RECT m_BBox;
99 int GetRectStart(FX_RECT rect);
100 int GetRectEnd(FX_RECT rect);
101 int GetRectTop(FX_RECT rect);
102 int GetRectBottom(FX_RECT rect);
103 int GetRectHeight(FX_RECT rect);
104 int GetRectWidth(FX_RECT rect);
Dautoreflow.cpp12 FX_RECT PreRect = pPrevObj->GetBBox(&matrix); in FPDF_ProcessInterObj()
13 FX_RECT rect = pObj->GetBBox(&matrix); in FPDF_ProcessInterObj()
344 FX_RECT imageBBox = pImage->GetBBox(&m_PDFDisplayMatrix); in GenerateParagraph()
370 FX_RECT rect = pLastObj->GetBBox(&m_PDFDisplayMatrix); in GenerateParagraph()
523 FX_RECT ObjBBox = pObj->GetBBox(&m_PDFDisplayMatrix); in GenerateLine()
600 int CPDF_AutoReflowLayoutProvider:: GetRectWidth(FX_RECT rect) in GetRectWidth()
607 int CPDF_AutoReflowLayoutProvider:: GetRectHeight(FX_RECT rect) in GetRectHeight()
614 int CPDF_AutoReflowLayoutProvider:: GetRectStart(FX_RECT rect) in GetRectStart()
621 int CPDF_AutoReflowLayoutProvider:: GetRectEnd(FX_RECT rect) in GetRectEnd()
628 int CPDF_AutoReflowLayoutProvider:: GetRectTop(FX_RECT rect) in GetRectTop()
[all …]
/external/pdfium/core/src/fxge/win32/
Dwin32_int.h19 … int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags);
21 … int dest_width, int dest_height, const FX_RECT* pClipRect, int flags);
101 virtual FX_BOOL FillRect(const FX_RECT* pRect,
108 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
115 FX_BOOL GDI_SetDIBits(const CFX_DIBitmap* pBitmap, const FX_RECT* pSrcRect, int left, int top,
135 …virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, i…
138 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
147 … int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags,
156 …virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, i…
159 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
[all …]
Dfx_win32_print.cpp33 FX_BOOL CGdiPrinterDriver::SetDIBits(const CFX_DIBSource* pSource, FX_DWORD color, const FX_RECT* p… in SetDIBits()
37 FX_RECT clip_rect(left, top, left + pSrcRect->Width(), top + pSrcRect->Height()); in SetDIBits()
54 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, in StretchDIBits()
115 FX_RECT full_rect = unit_rect.GetOutterRect(); in Transform1bppBitmap()
132 FX_RECT result_rect = result_rect_f.GetOutterRect(); in Transform1bppBitmap()
208 FX_RECT full_rect = unit_rect.GetOutterRect(); in StartDIBits()
385 FX_BOOL CPSPrinterDriver::GetClipBox(FX_RECT* pRect) in GetClipBox()
390 FX_BOOL CPSPrinterDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pS… in SetDIBits()
399 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, in StretchDIBits()
Dfx_win32_device.cpp478 FX_BOOL CGdiDeviceDriver::GDI_SetDIBits(const CFX_DIBitmap* pBitmap1, const FX_RECT* pSrcRect, int … in GDI_SetDIBits()
494 FX_RECT dst_rect(0, 0, width, height); in GDI_SetDIBits()
582 BOOL CGdiDeviceDriver::GetClipBox(FX_RECT* pRect) in GetClipBox()
766 FX_RECT bbox = bbox_f.GetInnerRect(); in DrawPath()
845 FX_BOOL CGdiDeviceDriver::FillRect(const FX_RECT* pRect, FX_DWORD fill_color, int alpha_flag, void*… in FillRect()
873 FX_RECT rect = rectf.GetOutterRect(); in SetClip_PathFill()
972 FX_BOOL CGdiDisplayDriver::SetDIBits(const CFX_DIBSource* pSource, FX_DWORD color, const FX_RECT* p… in SetDIBits()
987 FX_RECT src_rect(0, 0, width, height); in SetDIBits()
990 FX_RECT clip_rect(left, top, left + pSrcRect->Width(), top + pSrcRect->Height()); in SetDIBits()
1002 FX_RECT src_rect(0, 0, width, height); in SetDIBits()
[all …]
/external/pdfium/core/include/fxge/
Dfx_ge.h96 CFX_ClipRgn(const FX_RECT& rect);
107 void Reset(const FX_RECT& rect);
114 const FX_RECT& GetBox() const in GetBox()
124 void IntersectRect(const FX_RECT& rect);
131 FX_RECT m_Box;
135 void IntersectMaskRect(FX_RECT rect, FX_RECT mask_box, CFX_DIBitmapRef Mask);
376 const FX_RECT& GetClipBox() const in GetClipBox()
386 FX_BOOL SetClip_Rect(const FX_RECT* pRect);
407 FX_BOOL FillRect(const FX_RECT* pRect, FX_DWORD color,
467 FX_RECT m_ClipBox;
[all …]
Dfx_dib.h238 CFX_DIBitmap* Clone(const FX_RECT* pClip = NULL) const;
240 …CFX_DIBitmap* CloneConvert(FXDIB_Format format, const FX_RECT* pClip = NULL, void* pIccTransform =…
242 …CFX_DIBitmap* StretchTo(int dest_width, int dest_height, FX_DWORD flags = 0, const FX_RECT* pClip …
246 FX_DWORD flags = 0, const FX_RECT* pClip = NULL) const;
248 CFX_DIBitmap* GetAlphaMask(const FX_RECT* pClip = NULL) const;
250 FX_BOOL CopyAlphaMask(const CFX_DIBSource* pAlphaMask, const FX_RECT* pClip = NULL);
252 CFX_DIBitmap* SwapXY(FX_BOOL bXFlip, FX_BOOL bYFlip, const FX_RECT* pClip = NULL) const;
347 FX_BOOL DitherFS(const FX_DWORD* pPalette, int pal_size, const FX_RECT* pRect = NULL);
464 FX_DWORD mask_color, FX_RECT& dest_rect, FX_BOOL bVertical,
524 … int dest_width, int dest_height, const FX_RECT& bitmap_rect, FX_DWORD flags);
[all …]
Dfpf.h38 virtual FX_BOOL GetGlyphBBox(FX_INT32 iGlyphIndex, FX_RECT &rtBBox) = 0;
39 virtual FX_BOOL GetBBox(FX_RECT &rtBBox) = 0;
/external/pdfium/core/src/fxge/ge/
Dfx_ge_device.cpp102 FX_BOOL CFX_RenderDevice::SetClip_Rect(const FX_RECT* pRect) in SetClip_Rect()
160 FX_RECT rect_i = rect_f.GetOutterRect(); in DrawPath()
235 FX_RECT rect = bbox.GetOutterRect(); in DrawPath()
260FX_RECT src_rect(0, 0, FXSYS_round(rect.Width() * fScaleX), FXSYS_round(rect.Height() * fScaleY)); in DrawPath()
270 FX_RECT rect(x, y, x + 1, y + 1); in SetPixel()
273 FX_BOOL CFX_RenderDevice::FillRect(const FX_RECT* pRect, FX_DWORD fill_color, int alpha_flag, void*… in FillRect()
291 FX_RECT src_rect(0, 0, pRect->Width(), pRect->Height()); in FillRect()
329FX_RECT dest_rect(left, top, FXSYS_round(left + pBitmap->GetWidth() / fScaleX), FXSYS_round(top + … in SetDIBits()
334 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top, in SetDIBits()
360 FX_RECT src_rect(0, 0, bg_pixel_width, bg_pixel_height); in SetDIBits()
[all …]
Dfx_ge_path.cpp16 CFX_ClipRgn::CFX_ClipRgn(const FX_RECT& rect) in CFX_ClipRgn()
30 void CFX_ClipRgn::Reset(const FX_RECT& rect) in Reset()
36 void CFX_ClipRgn::IntersectRect(const FX_RECT& rect) in IntersectRect()
47 void CFX_ClipRgn::IntersectMaskRect(FX_RECT rect, FX_RECT mask_rect, CFX_DIBitmapRef Mask) in IntersectMaskRect()
77 FX_RECT mask_box(left, top, left + mask_dib->GetWidth(), top + mask_dib->GetHeight()); in IntersectMaskF()
83 FX_RECT new_box = m_Box; in IntersectMaskF()
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_Image.h18 struct FX_RECT;
40 …FX_BOOL composeTo(CJBig2_Image *pDst, FX_INT32 x, FX_INT32 y, JBig2ComposeOp op, const FX_RECT* pS…
47 …oseTo_opt2(CJBig2_Image *pDst, FX_INT32 x, FX_INT32 y, JBig2ComposeOp op, const FX_RECT* pSrcRect);
50 …omposeFrom(FX_INT32 x, FX_INT32 y, CJBig2_Image *pSrc, JBig2ComposeOp op, const FX_RECT* pSrcRect);
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h61 virtual FX_BOOL FillRect(const FX_RECT* pRect,
71 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
80 …virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, …
83 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
/external/pdfium/core/src/fxge/dib/
Ddib_int.h60 int dest_width, int dest_height, const FX_RECT& clip_rect,
69 FX_RECT m_DestClip;
72 FX_RECT m_SrcClip;
Dfx_dib_transform.cpp57 CFX_DIBitmap* CFX_DIBSource::SwapXY(FX_BOOL bXFlip, FX_BOOL bYFlip, const FX_RECT* pDestClip) const in SwapXY()
59 FX_RECT dest_clip(0, 0, m_Height, m_Width); in SwapXY()
156 FX_RECT _FXDIB_SwapClipBox(FX_RECT& clip, int width, int height, FX_BOOL bFlipX, FX_BOOL bFlipY) in _FXDIB_SwapClipBox()
158 FX_RECT rect; in _FXDIB_SwapClipBox()
177 FX_DWORD flags, const FX_RECT* pDestClip) const in TransformTo()
187 …X_DIBSource::StretchTo(int dest_width, int dest_height, FX_DWORD flags, const FX_RECT* pClip) const in StretchTo()
189 FX_RECT clip_rect(0, 0, FXSYS_abs(dest_width), FXSYS_abs(dest_height)); in StretchTo()
214 …onst CFX_DIBSource* pSrc, const CFX_AffineMatrix* pDestMatrix, int flags, const FX_RECT* pDestClip) in Start()
218 FX_RECT result_rect = unit_rect.GetClosestRect(); in Start()
219 FX_RECT result_clip = result_rect; in Start()
Dfx_dib_main.cpp159 CFX_DIBitmap* CFX_DIBSource::Clone(const FX_RECT* pClip) const in Clone()
161 FX_RECT rect(0, 0, m_Width, m_Height); in Clone()
370 FX_RECT src_rect(src_left, src_top, src_left + width, src_top + height); in GetOverlapRect()
371 FX_RECT src_bound(0, 0, src_width, src_height); in GetOverlapRect()
373 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect()
375 FX_RECT dest_bound(0, 0, m_Width, m_Height); in GetOverlapRect()
571 CFX_DIBitmap* CFX_DIBSource::GetAlphaMask(const FX_RECT* pClip) const in GetAlphaMask()
574 FX_RECT rect(0, 0, m_Width, m_Height); in GetAlphaMask()
599 FX_BOOL CFX_DIBSource::CopyAlphaMask(const CFX_DIBSource* pAlphaMask, const FX_RECT* pClip) in CopyAlphaMask()
605 FX_RECT rect(0, 0, pAlphaMask->m_Width, pAlphaMask->m_Height); in CopyAlphaMask()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp8 void FX_RECT::Normalize() in Normalize()
21 void FX_RECT::Intersect(const FX_RECT& src) in Intersect()
23 FX_RECT src_n = src; in Intersect()
34 void FX_RECT::Union(const FX_RECT& other_rect) in Union()
37 FX_RECT other = other_rect; in Union()
66 CFX_FloatRect::CFX_FloatRect(const FX_RECT& rect) in CFX_FloatRect()
157 FX_RECT CFX_FloatRect::GetOutterRect() const in GetOutterRect()
160 FX_RECT rect; in GetOutterRect()
168 FX_RECT CFX_FloatRect::GetInnerRect() const in GetInnerRect()
171 FX_RECT rect; in GetInnerRect()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Drender_int.h136 void DrawShading(CPDF_ShadingPattern* pPattern, CFX_AffineMatrix* pMatrix, FX_RECT& clip_rect,
144 CFX_DIBitmap* GetBackdrop(const CPDF_PageObject* pObj, const FX_RECT& rect, int& left, int& top,
146 …CFX_DIBitmap* LoadSMask(CPDF_Dictionary* pSMaskDict, FX_RECT* pClipRect, const CFX_AffineMatrix* p…
156 …CPDF_PageObject* pObj, const CFX_AffineMatrix* pObj2Device, FX_BOOL bLogical, FX_RECT &rect) const;
263 FX_BOOL Initialize(CPDF_RenderContext* pContext, CFX_RenderDevice* pDevice, FX_RECT* pRect,
277 FX_RECT m_Rect;
288 …FX_BOOL Start(CPDF_ImageObject* pImageObj, CFX_AffineMatrix* pImage2Device, const FX_RECT* pClipB…
305 FX_BOOL Initialize(CPDF_RenderContext* pContext, CFX_RenderDevice* pDevice, FX_RECT* pRect,
319 FX_RECT m_Rect;
Dfpdf_render_image.cpp104 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
139 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
362 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartLoadDIBSource()
437 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartRenderDIBSource()
438 FX_RECT image_clip = image_rect; in StartRenderDIBSource()
549 FX_RECT rect = m_ImageMatrix.GetUnitRect().GetOutterRect(); in DrawPatternImage()
639 FX_RECT rect = m_ImageMatrix.GetUnitRect().GetOutterRect(); in DrawMaskedImage()
742 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartDIBSource()
751 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource()
785 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource()
[all …]
Dfpdf_render.cpp376 … CPDF_PageObject* pObj, const CFX_AffineMatrix* pObj2Device, FX_BOOL bLogical, FX_RECT &rect) const in GetObjectClippedRect()
379 FX_RECT rtClip = m_pDevice->GetClipBox(); in GetObjectClippedRect()
400 FX_RECT rect; in DitherObjectArea()
469 FX_RECT rect; in DrawObjWithBackground()
824 FX_RECT rect = pPageObj->GetBBox(pObj2Device); in ProcessTransparency()
906 CFX_DIBitmap* CPDF_RenderStatus::GetBackdrop(const CPDF_PageObject* pObj, const FX_RECT& rect, int&… in GetBackdrop()
909 FX_RECT bbox = rect; in GetBackdrop()
955 FX_RECT rect(0, 0, device.GetWidth(), device.GetHeight()); in GetBackground()
1345 …F_DeviceBuffer::Initialize(CPDF_RenderContext* pContext, CFX_RenderDevice* pDevice, FX_RECT* pRect, in Initialize()
1376 FX_RECT bitmap_rect = rect.GetOutterRect(); in Initialize()
[all …]
/external/pdfium/core/src/fxge/android/
Dfpf_skiafont.h41 virtual FX_BOOL GetGlyphBBox(FX_INT32 iGlyphIndex, FX_RECT &rtBBox);
42 virtual FX_BOOL GetBBox(FX_RECT &rtBBox);
/external/pdfium/core/src/fxge/apple/
Dapple_int.h130 virtual FX_BOOL FillRect(const FX_RECT* pRect, FX_DWORD fill_color,
134 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
136 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect,
140 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
/external/pdfium/core/include/fxcrt/
Dfx_coordinates.h528 struct FX_RECT { struct
538 FX_RECT() {} in FX_RECT() argument
540 FX_RECT(int left1, int top1, int right1, int bottom1) in FX_RECT() argument
565 void Intersect(const FX_RECT& src); argument
569 Intersect(FX_RECT(left1, top1, right1, bottom1)); in Intersect() argument
572 void Union(const FX_RECT& other_rect);
574 FX_BOOL operator == (const FX_RECT& src) const
587 FX_BOOL Contains(const FX_RECT& other_rect) const in Contains() argument
632 CFX_FloatRect(const FX_RECT& rect);
656 FX_RECT GetInnerRect() const;
[all …]
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_FormFiller.cpp68 FX_RECT CFFL_FormFiller::GetViewBBox(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot) in GetViewBBox()
152 FX_RECT rect = this->GetViewBBox(pPageView,pAnnot); in OnLButtonDown()
168 FX_RECT rcFFL = this->GetViewBBox(pPageView, pAnnot); in OnLButtonUp()
314 FX_RECT rcRect = this->GetViewBBox(pPageView,pAnnot); in OnSetFocus()
770 FX_RECT rcRect = this->GetViewBBox(pPageView, m_pWidget); in EscapeFiller()
826 FX_RECT rect = this->GetViewBBox(pPageView,pAnnot); in OnMouseEnter()
835 FX_RECT rect = this->GetViewBBox(pPageView,pAnnot); in OnMouseExit()
851 FX_RECT rect = this->GetViewBBox(pPageView, pAnnot); in OnLButtonDown()
867 FX_RECT rect = this->GetViewBBox(pPageView, pAnnot); in OnLButtonUp()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h195 void GetFontBBox(FX_RECT& rect) const in GetFontBBox()
226 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0) = 0;
281 FX_RECT m_FontBBox;
344 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0);
442 FX_RECT m_BBox;
459 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0);
494 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0);
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp302 FX_RECT path_rect(rasterizer.min_x(), rasterizer.min_y(), in SetClipMask()
337 FX_RECT rect = rectf.GetOutterRect(); in SetClip_PathFill()
384 FX_RECT m_ClipBox;
1220 FX_RECT rect(left, top, left + width, top + height); in RgbByteOrderCompositeRect()
1449 FX_BOOL CFX_AggDeviceDriver::FillRect(const FX_RECT* pRect, FX_DWORD fill_color, int alpha_flag, vo… in FillRect()
1457 FX_RECT clip_rect; in FillRect()
1459 FX_RECT draw_rect = clip_rect; in FillRect()
1478 FX_BOOL CFX_AggDeviceDriver::GetClipBox(FX_RECT* pRect) in GetClipBox()
1502 FX_RECT rect(left, top, left + pBitmap->GetWidth(), top + pBitmap->GetHeight()); in GetDIBits()
1527 FX_BOOL CFX_AggDeviceDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD argb, const FX_RECT* … in SetDIBits()
[all …]

123