Home
last modified time | relevance | path

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

123

/external/pdfium/core/src/reflow/
Dautoreflow.h24 FX_RECT m_BBox;
101 int GetRectStart(FX_RECT rect);
102 int GetRectEnd(FX_RECT rect);
103 int GetRectTop(FX_RECT rect);
104 int GetRectBottom(FX_RECT rect);
105 int GetRectHeight(FX_RECT rect);
106 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()
343 FX_RECT imageBBox = pImage->GetBBox(&m_PDFDisplayMatrix); in GenerateParagraph()
369 FX_RECT rect = pLastObj->GetBBox(&m_PDFDisplayMatrix); in GenerateParagraph()
522 FX_RECT ObjBBox = pObj->GetBBox(&m_PDFDisplayMatrix); in GenerateLine()
599 int CPDF_AutoReflowLayoutProvider:: GetRectWidth(FX_RECT rect) in GetRectWidth()
606 int CPDF_AutoReflowLayoutProvider:: GetRectHeight(FX_RECT rect) in GetRectHeight()
613 int CPDF_AutoReflowLayoutProvider:: GetRectStart(FX_RECT rect) in GetRectStart()
620 int CPDF_AutoReflowLayoutProvider:: GetRectEnd(FX_RECT rect) in GetRectEnd()
627 int CPDF_AutoReflowLayoutProvider:: GetRectTop(FX_RECT rect) in GetRectTop()
[all …]
/external/pdfium/core/src/fxge/win32/
Dwin32_int.h21 … int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags);
23 … int dest_width, int dest_height, const FX_RECT* pClipRect, int flags);
103 virtual FX_BOOL FillRect(const FX_RECT* pRect,
110 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
117 FX_BOOL GDI_SetDIBits(const CFX_DIBitmap* pBitmap, const FX_RECT* pSrcRect, int left, int top,
137 …virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, i…
140 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
149 … int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags,
158 …virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, i…
161 … 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()
202 FX_RECT full_rect = unit_rect.GetOutterRect(); in StartDIBits()
373 FX_BOOL CPSPrinterDriver::GetClipBox(FX_RECT* pRect) in GetClipBox()
378 FX_BOOL CPSPrinterDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pS… in SetDIBits()
387 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, in StretchDIBits()
Dfx_win32_device.cpp468 FX_BOOL CGdiDeviceDriver::GDI_SetDIBits(const CFX_DIBitmap* pBitmap1, const FX_RECT* pSrcRect, int … in GDI_SetDIBits()
484 FX_RECT dst_rect(0, 0, width, height); in GDI_SetDIBits()
596 BOOL CGdiDeviceDriver::GetClipBox(FX_RECT* pRect) in GetClipBox()
777 FX_RECT bbox = bbox_f.GetInnerRect(); in DrawPath()
856 FX_BOOL CGdiDeviceDriver::FillRect(const FX_RECT* pRect, FX_DWORD fill_color, int alpha_flag, void*… in FillRect()
884 FX_RECT rect = rectf.GetOutterRect(); in SetClip_PathFill()
981 FX_BOOL CGdiDisplayDriver::SetDIBits(const CFX_DIBSource* pSource, FX_DWORD color, const FX_RECT* p… in SetDIBits()
996 FX_RECT src_rect(0, 0, width, height); in SetDIBits()
999 FX_RECT clip_rect(left, top, left + pSrcRect->Width(), top + pSrcRect->Height()); in SetDIBits()
1011 FX_RECT src_rect(0, 0, width, height); in SetDIBits()
[all …]
/external/pdfium/core/include/fxge/
Dfx_ge.h95 CFX_ClipRgn(const FX_RECT& rect);
106 void Reset(const FX_RECT& rect);
113 const FX_RECT& GetBox() const in GetBox()
123 void IntersectRect(const FX_RECT& rect);
130 FX_RECT m_Box;
134 void IntersectMaskRect(FX_RECT rect, FX_RECT mask_box, CFX_DIBitmapRef Mask);
372 const FX_RECT& GetClipBox() const in GetClipBox()
382 FX_BOOL SetClip_Rect(const FX_RECT* pRect);
403 FX_BOOL FillRect(const FX_RECT* pRect, FX_DWORD color,
463 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);
463 FX_DWORD mask_color, FX_RECT& dest_rect, FX_BOOL bVertical,
523 … int dest_width, int dest_height, const FX_RECT& bitmap_rect, FX_DWORD flags);
[all …]
Dfpf.h42 virtual FX_BOOL GetGlyphBBox(FX_INT32 iGlyphIndex, FX_RECT &rtBBox) = 0;
43 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.cpp18 CFX_ClipRgn::CFX_ClipRgn(const FX_RECT& rect) in CFX_ClipRgn()
32 void CFX_ClipRgn::Reset(const FX_RECT& rect) in Reset()
38 void CFX_ClipRgn::IntersectRect(const FX_RECT& rect) in IntersectRect()
49 void CFX_ClipRgn::IntersectMaskRect(FX_RECT rect, FX_RECT mask_rect, CFX_DIBitmapRef Mask) in IntersectMaskRect()
79 FX_RECT mask_box(left, top, left + mask_dib->GetWidth(), top + mask_dib->GetHeight()); in IntersectMaskF()
85 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/skia/
Dfx_skia_device.h48 virtual FX_BOOL FillRect(const FX_RECT* pRect, FX_DWORD fill_color,
55 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
62 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect,
66 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h63 virtual FX_BOOL FillRect(const FX_RECT* pRect,
73 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
82 …virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, …
85 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp9 void FX_RECT::Normalize() in Normalize()
22 void FX_RECT::Intersect(const FX_RECT& src) in Intersect()
24 FX_RECT src_n = src; in Intersect()
35 void FX_RECT::Union(const FX_RECT& other_rect) in Union()
38 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/fxge/dib/
Ddib_int.h63 int dest_width, int dest_height, const FX_RECT& clip_rect,
72 FX_RECT m_DestClip;
75 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()
151 FX_RECT _FXDIB_SwapClipBox(FX_RECT& clip, int width, int height, FX_BOOL bFlipX, FX_BOOL bFlipY) in _FXDIB_SwapClipBox()
153 FX_RECT rect; in _FXDIB_SwapClipBox()
172 FX_DWORD flags, const FX_RECT* pDestClip) const in TransformTo()
182 …X_DIBSource::StretchTo(int dest_width, int dest_height, FX_DWORD flags, const FX_RECT* pClip) const in StretchTo()
184 FX_RECT clip_rect(0, 0, FXSYS_abs(dest_width), FXSYS_abs(dest_height)); in StretchTo()
209 …onst CFX_DIBSource* pSrc, const CFX_AffineMatrix* pDestMatrix, int flags, const FX_RECT* pDestClip) in Start()
213 FX_RECT result_rect = unit_rect.GetClosestRect(); in Start()
214 FX_RECT result_clip = result_rect; in Start()
Dfx_dib_main.cpp158 CFX_DIBitmap* CFX_DIBSource::Clone(const FX_RECT* pClip) const in Clone()
160 FX_RECT rect(0, 0, m_Width, m_Height); in Clone()
357 FX_RECT src_rect(src_left, src_top, src_left + width, src_top + height); in GetOverlapRect()
358 FX_RECT src_bound(0, 0, src_width, src_height); in GetOverlapRect()
360 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect()
362 FX_RECT dest_bound(0, 0, m_Width, m_Height); in GetOverlapRect()
552 CFX_DIBitmap* CFX_DIBSource::GetAlphaMask(const FX_RECT* pClip) const in GetAlphaMask()
555 FX_RECT rect(0, 0, m_Width, m_Height); in GetAlphaMask()
577 FX_BOOL CFX_DIBSource::CopyAlphaMask(const CFX_DIBSource* pAlphaMask, const FX_RECT* pClip) in CopyAlphaMask()
583 FX_RECT rect(0, 0, pAlphaMask->m_Width, pAlphaMask->m_Height); in CopyAlphaMask()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Drender_int.h138 void DrawShading(CPDF_ShadingPattern* pPattern, CFX_AffineMatrix* pMatrix, FX_RECT& clip_rect,
146 CFX_DIBitmap* GetBackdrop(const CPDF_PageObject* pObj, const FX_RECT& rect, int& left, int& top,
148 …CFX_DIBitmap* LoadSMask(CPDF_Dictionary* pSMaskDict, FX_RECT* pClipRect, const CFX_AffineMatrix* p…
158 …CPDF_PageObject* pObj, const CFX_AffineMatrix* pObj2Device, FX_BOOL bLogical, FX_RECT &rect) const;
268 FX_BOOL Initialize(CPDF_RenderContext* pContext, CFX_RenderDevice* pDevice, FX_RECT* pRect,
282 FX_RECT m_Rect;
293 …FX_BOOL Start(CPDF_ImageObject* pImageObj, CFX_AffineMatrix* pImage2Device, const FX_RECT* pClipB…
310 FX_BOOL Initialize(CPDF_RenderContext* pContext, CFX_RenderDevice* pDevice, FX_RECT* pRect,
324 FX_RECT m_Rect;
Dfpdf_render_image.cpp60 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
95 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
318 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartLoadDIBSource()
477 FX_RECT rect = m_ImageMatrix.GetUnitRect().GetOutterRect(); in DrawPatternImage()
567 FX_RECT rect = m_ImageMatrix.GetUnitRect().GetOutterRect(); in DrawMaskedImage()
667 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartDIBSource()
676 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource()
710 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource()
711 FX_RECT dest_rect = clip_box; in StartDIBSource()
713 FX_RECT dest_clip(dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in StartDIBSource()
[all …]
/external/pdfium/core/src/fxge/android/
Dfpf_skiafont.h42 virtual FX_BOOL GetGlyphBBox(FX_INT32 iGlyphIndex, FX_RECT &rtBBox);
43 virtual FX_BOOL GetBBox(FX_RECT &rtBBox);
/external/pdfium/core/include/fxcrt/
Dfx_coordinates.h534 struct FX_RECT { struct
544 FX_RECT(): left(0), top(0), right(0), bottom(0) { } in FX_RECT() argument
546 FX_RECT(int left1, int top1, int right1, int bottom1) in FX_RECT() function
571 void Intersect(const FX_RECT& src); argument
575 Intersect(FX_RECT(left1, top1, right1, bottom1)); in Intersect() argument
578 void Union(const FX_RECT& other_rect);
580 FX_BOOL operator == (const FX_RECT& src) const
593 FX_BOOL Contains(const FX_RECT& other_rect) const in Contains() argument
638 CFX_FloatRect(const FX_RECT& rect);
662 FX_RECT GetInnerRect() const;
[all …]
/external/pdfium/core/src/fxge/apple/
Dapple_int.h131 virtual FX_BOOL FillRect(const FX_RECT* pRect, FX_DWORD fill_color,
135 virtual FX_BOOL GetClipBox(FX_RECT* pRect);
137 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect,
141 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
/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.h210 void GetFontBBox(FX_RECT& rect) const in GetFontBBox()
241 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0) = 0;
294 FX_RECT m_FontBBox;
357 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0);
455 FX_RECT m_BBox;
472 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0);
509 virtual void GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level = 0);
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp299 FX_RECT path_rect(rasterizer.min_x(), rasterizer.min_y(), in SetClipMask()
331 FX_RECT rect = rectf.GetOutterRect(); in SetClip_PathFill()
375 FX_RECT m_ClipBox;
1211 FX_RECT rect(left, top, left + width, top + height); in RgbByteOrderCompositeRect()
1438 FX_BOOL CFX_AggDeviceDriver::FillRect(const FX_RECT* pRect, FX_DWORD fill_color, int alpha_flag, vo… in FillRect()
1446 FX_RECT clip_rect; in FillRect()
1448 FX_RECT draw_rect = clip_rect; in FillRect()
1467 FX_BOOL CFX_AggDeviceDriver::GetClipBox(FX_RECT* pRect) in GetClipBox()
1491 FX_RECT rect(left, top, left + pBitmap->GetWidth(), top + pBitmap->GetHeight()); in GetDIBits()
1516 FX_BOOL CFX_AggDeviceDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD argb, const FX_RECT* … in SetDIBits()
[all …]

123