Home
last modified time | relevance | path

Searched refs:CFX_FloatRect (Results 1 – 25 of 131) sorted by relevance

123456

/external/pdfium/fpdfsdk/pdfwindow/
DPWL_Utils.h38 static CFX_FloatRect InflateRect(const CFX_FloatRect& rcRect, FX_FLOAT fSize);
39 static CFX_FloatRect DeflateRect(const CFX_FloatRect& rcRect, FX_FLOAT fSize);
43 static CFX_FloatRect GetCenterSquare(const CFX_FloatRect& rect);
45 static CFX_FloatRect OffsetRect(const CFX_FloatRect& rect,
51 static CFX_ByteString GetBorderAppStream(const CFX_FloatRect& rect,
59 const CFX_FloatRect& rect,
66 static CFX_ByteString GetRectFillAppStream(const CFX_FloatRect& rect,
68 static CFX_ByteString GetCircleFillAppStream(const CFX_FloatRect& rect,
70 static CFX_ByteString GetPushButtonAppStream(const CFX_FloatRect& rcBBox,
78 static CFX_ByteString GetCheckBoxAppStream(const CFX_FloatRect& rcBBox,
[all …]
DPWL_Utils.cpp20 CFX_FloatRect CPWL_Utils::OffsetRect(const CFX_FloatRect& rect, in OffsetRect()
23 return CFX_FloatRect(rect.left + x, rect.bottom + y, rect.right + x, in OffsetRect()
53 CFX_ByteString CPWL_Utils::GetAP_Check(const CFX_FloatRect& crBBox) { in GetAP_Check()
102 CFX_ByteString CPWL_Utils::GetAP_Circle(const CFX_FloatRect& crBBox) { in GetAP_Circle()
144 CFX_ByteString CPWL_Utils::GetAP_Cross(const CFX_FloatRect& crBBox) { in GetAP_Cross()
155 CFX_ByteString CPWL_Utils::GetAP_Diamond(const CFX_FloatRect& crBBox) { in GetAP_Diamond()
175 CFX_ByteString CPWL_Utils::GetAP_Square(const CFX_FloatRect& crBBox) { in GetAP_Square()
187 CFX_ByteString CPWL_Utils::GetAP_Star(const CFX_FloatRect& crBBox) { in GetAP_Star()
219 CFX_ByteString CPWL_Utils::GetAP_HalfCircle(const CFX_FloatRect& crBBox, in GetAP_HalfCircle()
254 CFX_FloatRect CPWL_Utils::InflateRect(const CFX_FloatRect& rcRect, in InflateRect()
[all …]
DPWL_Wnd.cpp275 void CPWL_Wnd::Move(const CFX_FloatRect& rcNew, bool bReset, bool bRefresh) { in Move()
277 CFX_FloatRect rcOld = GetWindowRect(); in Move()
296 void CPWL_Wnd::InvalidateRectMove(const CFX_FloatRect& rcOld, in InvalidateRectMove()
297 const CFX_FloatRect& rcNew) { in InvalidateRectMove()
298 CFX_FloatRect rcUnion = rcOld; in InvalidateRectMove()
313 CFX_FloatRect rectWnd = GetWindowRect(); in GetThisAppearanceStream()
349 CFX_FloatRect rectWnd = GetWindowRect(); in DrawThisAppearance()
352 CFX_FloatRect rcClient = CPWL_Utils::DeflateRect( in DrawThisAppearance()
383 void CPWL_Wnd::InvalidateRect(CFX_FloatRect* pRect) { in InvalidateRect()
385 CFX_FloatRect rcRefresh = pRect ? *pRect : GetWindowRect(); in InvalidateRect()
[all …]
DPWL_ScrollBar.cpp133 CFX_FloatRect rectWnd = GetWindowRect(); in GetThisAppearanceStream()
239 CFX_FloatRect rectWnd = GetWindowRect(); in DrawThisAppearance()
298 CFX_FloatRect rcDraw = rectWnd; in DrawThisAppearance()
345 CFX_FloatRect rcDraw = rectWnd; in DrawThisAppearance()
391 CFX_FloatRect rcDraw = rectWnd; in DrawThisAppearance()
579 CFX_FloatRect rcClient = GetClientRect(); in RePosChildWnd()
580 CFX_FloatRect rcMinButton, rcMaxButton; in RePosChildWnd()
588 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.bottom, in RePosChildWnd()
592 CFX_FloatRect(rcClient.right - PWL_SCROLLBAR_BUTTON_WIDTH, in RePosChildWnd()
600 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.bottom, in RePosChildWnd()
[all …]
DPWL_Caret.cpp34 CFX_FloatRect rcRect = GetCaretRect(); in DrawThisAppearance()
35 CFX_FloatRect rcClip = GetClipRect(); in DrawThisAppearance()
66 CFX_FloatRect rcRect = GetCaretRect(); in GetCaretApp()
67 CFX_FloatRect rcClip = GetClipRect(); in GetCaretApp()
102 CFX_FloatRect CPWL_Caret::GetCaretRect() const { in GetCaretRect()
103 return CFX_FloatRect(m_ptFoot.x, m_ptFoot.y, m_ptHead.x + m_fWidth, in GetCaretRect()
138 void CPWL_Caret::InvalidateRect(CFX_FloatRect* pRect) { in InvalidateRect()
140 CFX_FloatRect rcRefresh = CPWL_Utils::InflateRect(*pRect, 0.5f); in InvalidateRect()
DPWL_Wnd.h194 CFX_FloatRect rcRectWnd; // required
251 virtual void InvalidateRect(CFX_FloatRect* pRect = nullptr);
275 virtual CFX_FloatRect GetFocusRect() const;
276 virtual CFX_FloatRect GetClientRect() const;
282 void Move(const CFX_FloatRect& rcNew, bool bReset, bool bRefresh);
303 CFX_FloatRect GetWindowRect() const;
311 void SetClipRect(const CFX_FloatRect& rect);
312 const CFX_FloatRect& GetClipRect() const;
367 void InvalidateRectMove(const CFX_FloatRect& rcOld,
368 const CFX_FloatRect& rcNew);
[all …]
DPWL_ListBox.cpp61 void CPWL_List_Notify::IOnInvalidateRect(CFX_FloatRect* pRect) { in IOnInvalidateRect()
102 CFX_FloatRect rcPlate = m_pList->GetPlateRect(); in GetThisAppearanceStream()
104 CFX_FloatRect rcItem = m_pList->GetItemRect(i); in GetThisAppearanceStream()
135 CFX_FloatRect rcClient = GetClientRect(); in GetThisAppearanceStream()
152 CFX_FloatRect rcPlate = m_pList->GetPlateRect(); in DrawThisAppearance()
153 CFX_FloatRect rcList = GetListRect(); in DrawThisAppearance()
154 CFX_FloatRect rcClient = GetClientRect(); in DrawThisAppearance()
157 CFX_FloatRect rcItem = m_pList->GetItemRect(i); in DrawThisAppearance()
163 CFX_FloatRect rcContent = pEdit->GetContentRect(); in DrawThisAppearance()
356 CFX_FloatRect CPWL_ListBox::GetFocusRect() const { in GetFocusRect()
[all …]
DPWL_Caret.h31 void InvalidateRect(CFX_FloatRect* pRect = nullptr) override;
39 void SetInvalidRect(CFX_FloatRect rc) { m_rcInvalid = rc; } in SetInvalidRect()
43 CFX_FloatRect GetCaretRect() const;
50 CFX_FloatRect m_rcInvalid;
DPWL_ComboBox.cpp100 CFX_FloatRect rectWnd = CPWL_Wnd::GetWindowRect(); in GetThisAppearanceStream()
133 CFX_FloatRect rectWnd = CPWL_Wnd::GetWindowRect(); in DrawThisAppearance()
280 ecp.rcRectWnd = CFX_FloatRect(0, 0, 0, 0); in CreateEdit()
316 lcp.rcRectWnd = CFX_FloatRect(0, 0, 0, 0); in CreateListBox()
334 CFX_FloatRect rcClient = GetClientRect(); in RePosChildWnd()
337 CFX_FloatRect rclient = GetClientRect(); in RePosChildWnd()
338 CFX_FloatRect rcButton = rclient; in RePosChildWnd()
339 CFX_FloatRect rcEdit = rcClient; in RePosChildWnd()
340 CFX_FloatRect rcList = CPWL_Wnd::GetWindowRect(); in RePosChildWnd()
402 CFX_FloatRect rcButton = rcClient; in RePosChildWnd()
[all …]
DPWL_Edit.cpp88 CFX_FloatRect rcWindow = m_rcOldWindow; in RePosChildWnd()
89 CFX_FloatRect rcVScroll = in RePosChildWnd()
90 CFX_FloatRect(rcWindow.right, rcWindow.bottom, in RePosChildWnd()
102 CFX_FloatRect CPWL_Edit::GetClientRect() const { in GetClientRect()
103 CFX_FloatRect rcClient = CPWL_Utils::DeflateRect( in GetClientRect()
185 SetClipRect(CFX_FloatRect(0.0f, 0.0f, 0.0f, 0.0f)); in SetParamByFlag()
198 CFX_FloatRect rcClient = GetClientRect(); in GetThisAppearanceStream()
302 CFX_FloatRect rect = GetClientRect(); in GetThisAppearanceStream()
320 CFX_FloatRect rcClient = GetClientRect(); in DrawThisAppearance()
391 CFX_FloatRect rcClip; in DrawThisAppearance()
[all …]
/external/pdfium/core/fxcrt/
Dfx_basic_coords.cpp77 CFX_FloatRect::CFX_FloatRect(const FX_RECT& rect) { in CFX_FloatRect() function in CFX_FloatRect
83 void CFX_FloatRect::Normalize() { in Normalize()
96 void CFX_FloatRect::Intersect(const CFX_FloatRect& other_rect) { in Intersect()
98 CFX_FloatRect other = other_rect; in Intersect()
108 void CFX_FloatRect::Union(const CFX_FloatRect& other_rect) { in Union()
110 CFX_FloatRect other = other_rect; in Union()
118 int CFX_FloatRect::Substract4(CFX_FloatRect& s, CFX_FloatRect* pRects) { in Substract4()
122 CFX_FloatRect rects[4]; in Substract4()
161 FX_RECT CFX_FloatRect::GetOuterRect() const { in GetOuterRect()
162 CFX_FloatRect rect1 = *this; in GetOuterRect()
[all …]
Dfx_coordinates.h454 class CFX_FloatRect {
456 CFX_FloatRect() : CFX_FloatRect(0.0f, 0.0f, 0.0f, 0.0f) {} in CFX_FloatRect() function
457 CFX_FloatRect(FX_FLOAT l, FX_FLOAT b, FX_FLOAT r, FX_FLOAT t) in CFX_FloatRect() function
460 explicit CFX_FloatRect(const FX_FLOAT* pArray) in CFX_FloatRect() function
461 : CFX_FloatRect(pArray[0], pArray[1], pArray[2], pArray[3]) {} in CFX_FloatRect()
463 explicit CFX_FloatRect(const FX_RECT& rect);
477 bool Contains(const CFX_FloatRect& other_rect) const;
479 void Intersect(const CFX_FloatRect& other_rect);
480 void Union(const CFX_FloatRect& other_rect);
486 int Substract4(CFX_FloatRect& substract_rect, CFX_FloatRect* pRects);
[all …]
/external/pdfium/fpdfsdk/fxedit/
Dfxet_list.h19 class CLST_Rect : public CFX_FloatRect {
33 explicit CLST_Rect(const CFX_FloatRect& rect) { in CLST_Rect()
44 const CLST_Rect operator=(const CFX_FloatRect& rect) {
132 virtual void SetPlateRect(const CFX_FloatRect& rect);
134 CFX_FloatRect GetPlateRect() const { return m_rcPlate; } in GetPlateRect()
151 CFX_FloatRect InnerToOuter(const CLST_Rect& rect) const { in InnerToOuter()
155 return CFX_FloatRect(ptLeftTop.x, ptRightBottom.y, ptRightBottom.x, in InnerToOuter()
158 CLST_Rect OuterToInner(const CFX_FloatRect& rect) const { in OuterToInner()
167 CFX_FloatRect m_rcPlate;
224 void SetPlateRect(const CFX_FloatRect& rect) override;
[all …]
Dfxet_list.cpp80 void CFX_ListContainer::SetPlateRect(const CFX_FloatRect& rect) { in SetPlateRect()
211 CFX_FloatRect rcPlate = GetPlateRect(); in InToOut()
217 CFX_FloatRect rcPlate = GetPlateRect(); in OutToIn()
222 CFX_FloatRect CFX_ListCtrl::InToOut(const CFX_FloatRect& rect) const { in InToOut()
225 return CFX_FloatRect(ptLeftBottom.x, ptLeftBottom.y, ptRightTop.x, in InToOut()
229 CFX_FloatRect CFX_ListCtrl::OutToIn(const CFX_FloatRect& rect) const { in OutToIn()
232 return CFX_FloatRect(ptLeftBottom.x, ptLeftBottom.y, ptRightTop.x, in OutToIn()
363 void CFX_ListCtrl::SetPlateRect(const CFX_FloatRect& rect) { in SetPlateRect()
371 CFX_FloatRect CFX_ListCtrl::GetItemRect(int32_t nIndex) const { in GetItemRect()
375 CFX_FloatRect CFX_ListCtrl::GetItemRectInternal(int32_t nIndex) const { in GetItemRectInternal()
[all …]
Dfxet_edit.h32 CFX_Edit_LineRect(const CPVT_WordRange& wrLine, const CFX_FloatRect& rcLine) in CFX_Edit_LineRect()
36 CFX_FloatRect m_rcLine;
45 void Add(const CPVT_WordRange& wrLine, const CFX_FloatRect& rcLine);
60 void Add(const CFX_FloatRect& rect);
63 CFX_FloatRect* GetAt(int32_t nIndex) const;
66 std::vector<std::unique_ptr<CFX_FloatRect>> m_Rects;
75 void Push(const CPVT_WordRange& linerange, const CFX_FloatRect& rect);
77 void AddRefresh(const CFX_FloatRect& rect);
327 const CFX_FloatRect& rcClip,
346 void SetPlateRect(const CFX_FloatRect& rect);
[all …]
/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.cpp47 const CFX_FloatRect& rcWindow) { in SetWindowRect()
49 pWnd->Move(CFX_FloatRect(rcWindow), true, false); in SetWindowRect()
53 CFX_FloatRect CFFL_FormFiller::GetWindowRect(CPDFSDK_PageView* pPageView) { in GetWindowRect()
58 return CFX_FloatRect(0, 0, 0, 0); in GetWindowRect()
66 CFX_FloatRect rcAnnot = m_pWidget->GetRect(); in GetViewBBox()
69 CFX_FloatRect rcWindow = pWnd->GetWindowRect(); in GetViewBBox()
73 CFX_FloatRect rcWin = rcAnnot; in GetViewBBox()
75 CFX_FloatRect rcFocus = GetFocusBox(pPageView); in GetViewBBox()
79 CFX_FloatRect rect = CPWL_Utils::InflateRect(rcWin, 1); in GetViewBBox()
408 CFX_FloatRect rcDA = m_pWidget->GetPDFAnnot()->GetRect(); in GetCurMatrix()
[all …]
Dcffl_formfiller.h105 CFX_FloatRect FFLtoPWL(const CFX_FloatRect& rect);
106 CFX_FloatRect PWLtoFFL(const CFX_FloatRect& rect);
111 CFX_FloatRect FFLtoWnd(CPDFSDK_PageView* pPageView,
112 const CFX_FloatRect& rect);
115 const CFX_FloatRect& rcWindow);
116 CFX_FloatRect GetWindowRect(CPDFSDK_PageView* pPageView);
133 virtual CFX_FloatRect GetFocusBox(CPDFSDK_PageView* pPageView);
136 CFX_FloatRect GetPDFWindowRect() const;
/external/pdfium/fpdfsdk/
Dfpdf_flatten.cpp32 bool IsValiableRect(CFX_FloatRect rect, CFX_FloatRect rcPage) { in IsValiableRect()
53 std::vector<CFX_FloatRect>* pRectArray) { in GetContentsRect()
58 CFX_FloatRect rc; in GetContentsRect()
70 std::vector<CFX_FloatRect>* pRectArray, in ParserStream()
74 CFX_FloatRect rect; in ParserStream()
88 std::vector<CFX_FloatRect>* pRectArray, in ParserAnnots()
126 FX_FLOAT GetMinMaxValue(const std::vector<CFX_FloatRect>& array, in GetMinMaxValue()
167 CFX_FloatRect CalculateRect(std::vector<CFX_FloatRect>* pRectArray) { in CalculateRect()
168 CFX_FloatRect rcRet; in CalculateRect()
225 CFX_Matrix GetMatrix(CFX_FloatRect rcAnnot, in GetMatrix()
[all …]
Dcba_annotiterator.cpp17 CFX_FloatRect GetAnnotRect(const CPDFSDK_Annot* pAnnot) { in GetAnnotRect()
84 CFX_FloatRect CBA_AnnotIterator::AddToAnnotsList( in AddToAnnotsList()
88 CFX_FloatRect rcLeftTop = GetAnnotRect(pLeftTopAnnot); in AddToAnnotsList()
118 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults()
127 CFX_FloatRect rcLeftTop = AddToAnnotsList(&sa, nLeftTopIndex); in GenerateResults()
131 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults()
150 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults()
162 CFX_FloatRect rcLeftTop = AddToAnnotsList(&sa, nLeftTopIndex); in GenerateResults()
166 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults()
Dfsdk_baseform_embeddertest.cpp17 void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) { in CheckRect()
37 CFX_FloatRect LeftBottom(200, 200, 220, 220); in TEST_F()
38 CFX_FloatRect RightBottom(400, 201, 420, 221); in TEST_F()
39 CFX_FloatRect LeftTop(201, 400, 221, 420); in TEST_F()
40 CFX_FloatRect RightTop(401, 401, 421, 421); in TEST_F()
Dcpdfsdk_annot.cpp70 void CPDFSDK_Annot::SetRect(const CFX_FloatRect& rect) {} in SetRect()
72 CFX_FloatRect CPDFSDK_Annot::GetRect() const { in GetRect()
73 return CFX_FloatRect(); in GetRect()
/external/pdfium/core/fpdfapi/page/
Dcpdf_clippath.cpp43 CFX_FloatRect CPDF_ClipPath::GetClipBox() const { in GetClipBox()
44 CFX_FloatRect rect; in GetClipBox()
50 CFX_FloatRect path_rect = GetPath(i).GetBoundingBox(); in GetClipBox()
57 CFX_FloatRect layer_rect; in GetClipBox()
71 layer_rect = CFX_FloatRect(pTextObj->GetBBox(nullptr)); in GetClipBox()
74 layer_rect.Union(CFX_FloatRect(pTextObj->GetBBox(nullptr))); in GetClipBox()
89 CFX_FloatRect old_rect(point0.x, point0.y, point2.x, point2.y); in AppendPath()
90 CFX_FloatRect new_rect = path.GetBoundingBox(); in AppendPath()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.h57 CFX_FloatRect m_CharBox;
78 CFX_FloatRect m_CharBox;
100 std::vector<CFX_FloatRect> GetRectArray(int start, int nCount) const;
102 CFX_WideString GetTextByRect(const CFX_FloatRect& rect) const;
111 static bool IsRectIntersect(const CFX_FloatRect& rect1,
112 const CFX_FloatRect& rect2);
174 std::vector<CFX_FloatRect> m_SelRects;
177 CFX_FloatRect m_CurlineRect;
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp81 CFX_FloatRect rcAnnot = pAnnotDict->GetRectFor("Rect"); in GenerateWidgetAP()
86 CFX_FloatRect rcBBox; in GenerateWidgetAP()
90 rcBBox = CFX_FloatRect(0, 0, rcAnnot.right - rcAnnot.left, in GenerateWidgetAP()
95 rcBBox = CFX_FloatRect(0, 0, rcAnnot.top - rcAnnot.bottom, in GenerateWidgetAP()
101 rcBBox = CFX_FloatRect(0, 0, rcAnnot.right - rcAnnot.left, in GenerateWidgetAP()
106 rcBBox = CFX_FloatRect(0, 0, rcAnnot.top - rcAnnot.bottom, in GenerateWidgetAP()
168 CFX_FloatRect rcBody = in GenerateWidgetAP()
169 CFX_FloatRect(rcBBox.left + fBorderWidth, rcBBox.bottom + fBorderWidth, in GenerateWidgetAP()
248 CFX_FloatRect rcContent = vt.GetContentRect(); in GenerateWidgetAP()
283 CFX_FloatRect rcButton = rcBody; in GenerateWidgetAP()
[all …]
Dcpdf_annot.cpp54 CFX_FloatRect form_bbox = pForm->m_pFormDict->GetRectFor("BBox"); in AnnotGetMatrix()
135 CFX_FloatRect CPDF_Annot::RectForDrawing() const { in RectForDrawing()
137 return CFX_FloatRect(); in RectForDrawing()
147 CFX_FloatRect CPDF_Annot::GetRect() const { in GetRect()
149 return CFX_FloatRect(); in GetRect()
151 CFX_FloatRect rect = RectForDrawing(); in GetRect()
217 CFX_FloatRect CPDF_Annot::RectFromQuadPoints(CPDF_Dictionary* pAnnotDict) { in RectFromQuadPoints()
220 return CFX_FloatRect(); in RectFromQuadPoints()
232 return CFX_FloatRect(pArray->GetNumberAt(4), pArray->GetNumberAt(5), in RectFromQuadPoints()
497 CFX_FloatRect rect = GetRect(); in DrawBorder()

123456