Home
last modified time | relevance | path

Searched refs:CPDF_Rect (Results 1 – 25 of 66) sorted by relevance

123

/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h102 static CPDF_Rect InflateRect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
103 static CPDF_Rect DeflateRect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
104 static FX_BOOL IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
105 static FX_BOOL ContainsRect(const CPDF_Rect& rcParent, const CPDF_Rect& rcChild);
106 static CPDF_Rect ScaleRect(const CPDF_Rect& rcRect,FX_FLOAT fScale);
108 static CPDF_Rect GetCenterSquare(const CPDF_Rect & rect);
111 static CPDF_Rect MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2);
112 static CPDF_Rect OffsetRect(const CPDF_Rect & rect,FX_FLOAT x,FX_FLOAT y);
119 static CFX_ByteString GetBorderAppStream(const CPDF_Rect & rect, FX_FLOAT fWidth,
122 static CFX_ByteString GetCircleBorderAppStream(const CPDF_Rect & rect, FX_FLOAT fWidth,
[all …]
DPWL_ListCtrl.h21 CPDF_Rect GetScrollArea() const;
38 CPDF_Rect InToOut(const CPDF_Rect& rect) const;
39 CPDF_Rect OutToIn(const CPDF_Rect& rect) const;
45 CPDF_Rect m_rcContent;
DPWL_Wnd.h228 CPDF_Rect rcRectWnd; //required
293 void Move(const CPDF_Rect & rcNew,FX_BOOL bReset,FX_BOOL bRefresh);
294 virtual void InvalidateRect(CPDF_Rect* pRect = NULL);
324 virtual CPDF_Rect GetFocusRect() const;
341 void SetClipRect(const CPDF_Rect & rect);
345 CPDF_Rect GetOriginWindowRect() const;
346 virtual CPDF_Rect GetWindowRect() const;
347 virtual CPDF_Rect GetClientRect() const;
349 CPDF_Rect GetClientCenterSquare() const;
350 CPDF_Rect GetWindowCenterSquare() const;
[all …]
DPWL_Caret.h32 virtual void InvalidateRect(CPDF_Rect * pRect = NULL);
43 CPDF_Rect GetCaretRect() const;
52 void SetInvalidRect(CPDF_Rect rc) {m_rcInvalid = rc;} in SetInvalidRect()
54 CPDF_Rect m_rcInvalid;
DPWL_EditCtrl.h35 virtual void OnContentChange(const CPDF_Rect& rcContent){} in OnContentChange()
84 CPDF_Rect GetContentRect() const;
91 void GetTextRange(const CPDF_Rect& rect, FX_INT32 & nStartChar, FX_INT32 & nEndChar) const;
153 virtual void IOnContentChange(const CPDF_Rect& rcContent);
154 virtual void IOnInvalidateRect(CPDF_Rect * pRect);
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_Utils.cpp10 CPDF_Rect CFFL_Utils::MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2) in MaxRect()
12 CPDF_Rect rcRet; in MaxRect()
22 CPDF_Rect CFFL_Utils::InflateRect(const CPDF_Rect & crRect,const FX_FLOAT & fSize) in InflateRect()
24 CPDF_Rect crNew(crRect.left - fSize, in InflateRect()
32 CPDF_Rect CFFL_Utils::DeflateRect(const CPDF_Rect & crRect,const FX_FLOAT & fSize) in DeflateRect()
34 CPDF_Rect crNew(crRect.left + fSize, in DeflateRect()
DFFL_FormFiller.cpp50 void CFFL_FormFiller::SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow) in SetWindowRect()
54 pWnd->Move(CPDF_Rect(rcWindow), TRUE, FALSE); in SetWindowRect()
58 CPDF_Rect CFFL_FormFiller::GetWindowRect(CPDFSDK_PageView* pPageView) in GetWindowRect()
65 return CPDF_Rect(0,0,0,0); in GetWindowRect()
73 CPDF_Rect rcAnnot = m_pWidget->GetRect(); in GetViewBBox()
77 CPDF_Rect rcWindow = pWnd->GetWindowRect(); in GetViewBBox()
81 CPDF_Rect rcWin = rcAnnot; in GetViewBBox()
84 CPDF_Rect rcFocus = this->GetFocusBox(pPageView); in GetViewBBox()
88 CPDF_Rect rect = CPWL_Utils::InflateRect(rcWin,1); in GetViewBBox()
517 CPDF_Rect rcDA ; in GetCurMatrix()
[all …]
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_Utils.h15 static CPDF_Rect MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2);
16 static CPDF_Rect InflateRect(const CPDF_Rect & crRect, const FX_FLOAT & fSize);
17 static CPDF_Rect DeflateRect(const CPDF_Rect & crRect, const FX_FLOAT & fSize);
DFFL_FormFiller.h105 CPDF_Rect FFLtoPWL(const CPDF_Rect& rect);
106 CPDF_Rect PWLtoFFL(const CPDF_Rect& rect);
111 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect);
113 void SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow);
114 CPDF_Rect GetWindowRect(CPDFSDK_PageView* pPageView);
131 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView);
135 CPDF_Rect GetPDFWindowRect() const;
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ListCtrl.cpp48 CPDF_Rect CPWL_ListCtrl::GetScrollArea() const in GetScrollArea()
96 CPDF_Rect rcClient = GetClientRect(); in ResetAll()
122 pChild->Move(CPDF_Rect(fLeft, fy-fItemHeight, fWidth - fRight, fy), TRUE, FALSE); in ResetAll()
165 CPDF_Rect rcClient = GetClientRect(); in DrawChildAppearance()
166 CPDF_Rect rcTemp = rcClient; in DrawChildAppearance()
179 CPDF_Rect rcChild = pChild->ChildToParent(pChild->GetWindowRect()); in DrawChildAppearance()
212 CPDF_Rect rcClient = GetClientRect(); in InToOut()
220 CPDF_Rect rcClient = GetClientRect(); in OutToIn()
226 CPDF_Rect CPWL_ListCtrl::InToOut(const CPDF_Rect& rect) const in InToOut()
228 CPDF_Rect rcClient = GetClientRect(); in InToOut()
[all …]
DPWL_Wnd.cpp314 void CPWL_Wnd::Move(const CPDF_Rect & rcNew, FX_BOOL bReset,FX_BOOL bRefresh) in Move()
318 CPDF_Rect rcOld = this->GetWindowRect(); in Move()
342 void CPWL_Wnd::InvalidateRectMove(const CPDF_Rect & rcOld, const CPDF_Rect & rcNew) in InvalidateRectMove()
344 CPDF_Rect rcUnion = rcOld; in InvalidateRectMove()
398 CPDF_Rect rectWnd = GetWindowRect(); in GetThisAppearanceStream()
441 CPDF_Rect rectWnd = GetWindowRect(); in DrawThisAppearance()
446CPDF_Rect rcClient = CPWL_Utils::DeflateRect(rectWnd,(FX_FLOAT)(GetBorderWidth()+GetInnerBorderWid… in DrawThisAppearance()
484 void CPWL_Wnd::InvalidateRect(CPDF_Rect* pRect) in InvalidateRect()
488 CPDF_Rect rcRefresh = pRect ? *pRect : GetWindowRect(); in InvalidateRect()
492 CPDF_Rect rcClip = GetClipRect(); in InvalidateRect()
[all …]
DPWL_ScrollBar.cpp169 CPDF_Rect rectWnd = GetWindowRect(); in GetThisAppearanceStream()
280 CPDF_Rect rectWnd = GetWindowRect(); in DrawThisAppearance()
348 CPDF_Rect rcDraw = rectWnd; in DrawThisAppearance()
393 CPDF_Rect rcDraw = rectWnd; in DrawThisAppearance()
439 CPDF_Rect rcDraw = rectWnd; in DrawThisAppearance()
643 CPDF_Rect rcClient = this->GetClientRect(); in RePosChildWnd()
664 CPDF_Rect rcMinButton,rcMaxButton; in RePosChildWnd()
673 rcMinButton = CPDF_Rect(rcClient.left,rcClient.bottom, in RePosChildWnd()
675 rcMaxButton = CPDF_Rect(rcClient.right - PWL_SCROLLBAR_BUTTON_WIDTH,rcClient.bottom, in RePosChildWnd()
684 rcMinButton = CPDF_Rect(rcClient.left,rcClient.bottom, in RePosChildWnd()
[all …]
DPWL_Caret.cpp45 CPDF_Rect rcRect = GetCaretRect(); in DrawThisAppearance()
46 CPDF_Rect rcClip = GetClipRect(); in DrawThisAppearance()
90 CPDF_Rect rcRect = GetCaretRect(); in GetCaretApp()
91 CPDF_Rect rcClip = GetClipRect(); in GetCaretApp()
130 CPDF_Rect CPWL_Caret::GetCaretRect() const in GetCaretRect()
132 return CPDF_Rect(m_ptFoot.x, in GetCaretRect()
184 void CPWL_Caret::InvalidateRect(CPDF_Rect * pRect) in InvalidateRect()
188 CPDF_Rect rcRefresh = CPWL_Utils::InflateRect(*pRect,0.5f); in InvalidateRect()
DPWL_Utils.cpp72 CPDF_Rect CPWL_Utils::MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2) in MaxRect()
74 CPDF_Rect rcRet; in MaxRect()
84 CPDF_Rect CPWL_Utils::OffsetRect(const CPDF_Rect & rect,FX_FLOAT x,FX_FLOAT y) in OffsetRect()
86 return CPDF_Rect(rect.left + x,rect.bottom + y, in OffsetRect()
90 FX_BOOL CPWL_Utils::ContainsRect(const CPDF_Rect& rcParent, const CPDF_Rect& rcChild) in ContainsRect()
96 FX_BOOL CPWL_Utils::IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2) in IntersectRect()
139 CFX_ByteString CPWL_Utils::GetAP_Check(const CPDF_Rect & crBBox) in GetAP_Check()
222 CFX_ByteString CPWL_Utils::GetAP_Circle(const CPDF_Rect & crBBox) in GetAP_Circle()
267 CFX_ByteString CPWL_Utils::GetAP_Cross(const CPDF_Rect & crBBox) in GetAP_Cross()
279 CFX_ByteString CPWL_Utils::GetAP_Diamond(const CPDF_Rect & crBBox) in GetAP_Diamond()
[all …]
DPWL_ListBox.cpp72 void CPWL_List_Notify::IOnInvalidateRect(CPDF_Rect * pRect) in IOnInvalidateRect()
141 CPDF_Rect rcPlate = m_pList->GetPlateRect(); in GetThisAppearanceStream()
144 CPDF_Rect rcItem = m_pList->GetItemRect(i); in GetThisAppearanceStream()
172 CPDF_Rect rcClient = this->GetClientRect(); in GetThisAppearanceStream()
190 CPDF_Rect rcPlate = m_pList->GetPlateRect(); in DrawThisAppearance()
191 CPDF_Rect rcList = GetListRect(); in DrawThisAppearance()
192 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
196 CPDF_Rect rcItem = m_pList->GetItemRect(i); in DrawThisAppearance()
202 CPDF_Rect rcContent = pEdit->GetContentRect(); in DrawThisAppearance()
453 CPDF_Rect CPWL_ListBox::GetFocusRect() const in GetFocusRect()
[all …]
DPWL_ComboBox.cpp118 CPDF_Rect rectWnd = CPWL_Wnd::GetWindowRect(); in GetThisAppearanceStream()
150 CPDF_Rect rectWnd = CPWL_Wnd::GetWindowRect(); in DrawThisAppearance()
325 ecp.rcRectWnd = CPDF_Rect(0,0,0,0); in CreateEdit()
364 lcp.rcRectWnd = CPDF_Rect(0,0,0,0); in CreateListBox()
383 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
387 CPDF_Rect rclient = GetClientRect(); in RePosChildWnd()
388 CPDF_Rect rcButton = rclient; in RePosChildWnd()
389 CPDF_Rect rcEdit = rcClient; in RePosChildWnd()
390 CPDF_Rect rcList = CPWL_Wnd::GetWindowRect(); in RePosChildWnd()
456 CPDF_Rect rcButton = rcClient; in RePosChildWnd()
[all …]
DPWL_Note.cpp58 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
68 m_pText->Move(CPDF_Rect(0,0,0,0), TRUE, FALSE); in RePosChildWnd()
92 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
114 CPDF_Rect CPWL_Note_Options::GetContentRect() const in GetContentRect()
118 CPDF_Rect rcText = m_pText->GetContentRect(); in GetContentRect()
250 this->Move(CPDF_Rect(0,0,fLimitWidth,0), TRUE, FALSE); in GetItemHeight()
287 CPDF_Rect rcClient = this->GetClientRect(); in DrawThisAppearance()
316 CPDF_Rect rcClient = this->GetClientRect(); in DrawThisAppearance()
368 CPDF_Rect rcClient = this->GetClientRect(); in DrawThisAppearance()
747 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
[all …]
DPWL_Signature.cpp40 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
61 CPDF_Rect rcClient = GetClientRect(); in GetScale()
133 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
135 CPDF_Rect rcText = rcClient; in RePosChildWnd()
136 CPDF_Rect rcDescription = rcClient; in RePosChildWnd()
DPWL_IconList.cpp46 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
62 CPDF_Rect rcIcon = rcClient; in DrawThisAppearance()
120 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
181 CPDF_Rect rcScroll = this->GetScrollArea(); in CreateChildWnd()
261 CPDF_Rect rcWnd = pChild->ChildToParent(pChild->GetWindowRect()); in FindItemIndex()
275 CPDF_Rect rcClient = GetClientRect(); in ScrollToItem()
279 CPDF_Rect rcOrigin = pItem->GetWindowRect(); in ScrollToItem()
280 CPDF_Rect rcWnd = pItem->ChildToParent(rcOrigin); in ScrollToItem()
558 CPDF_Rect rcScroll = m_pListContent->GetScrollArea(); in OnMouseWheel()
559 CPDF_Rect rcContents = m_pListContent->GetClientRect(); in OnMouseWheel()
/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_list.h41 class CLST_Rect : public CPDF_Rect
58 CLST_Rect(const CPDF_Rect & rect) in CLST_Rect()
71 const CLST_Rect operator = (const CPDF_Rect & rect)
187 virtual void SetPlateRect(const CPDF_Rect & rect){m_rcPlate = rect;} in SetPlateRect()
188 CPDF_Rect GetPlateRect() const{return m_rcPlate;} in GetPlateRect()
196CPDF_Rect InnerToOuter(const CLST_Rect & rect) const{CPDF_Point ptLeftTop = InnerToOuter(CPDF… in InnerToOuter()
198 return CPDF_Rect(ptLeftTop.x,ptRightBottom.y,ptRightBottom.x,ptLeftTop.y);} in InnerToOuter()
199 …CLST_Rect OuterToInner(const CPDF_Rect & rect) const{CPDF_Point ptLeftTop = OuterToInner(CPDF… in OuterToInner()
203 CPDF_Rect m_rcPlate;
225 virtual CPDF_Rect GetPlateRect() const;
[all …]
Dfxet_edit.h65 CFX_Edit_LineRect(const CPVT_WordRange & wrLine,const CPDF_Rect & rcLine) : in CFX_Edit_LineRect()
96 CPDF_Rect m_rcLine;
133 void Add(const CPVT_WordRange & wrLine,const CPDF_Rect & rcLine) in Add()
175 void Add(const CPDF_Rect & rect) in Add()
179 if (CPDF_Rect * pRect = m_Rects.GetAt(i)) in Add()
182 if (CPDF_Rect * pNewRect = new CPDF_Rect(rect)) in Add()
191 CPDF_Rect * GetAt(FX_INT32 nIndex) const in GetAt()
199 CFX_ArrayTemplate<CPDF_Rect*> m_Rects;
209 void Push(const CPVT_WordRange & linerange,const CPDF_Rect & rect);
212 void AddRefresh(const CPDF_Rect & rect);
[all …]
Dfx_edit.h80 virtual void IOnContentChange(const CPDF_Rect& rcContent) = 0;
82 virtual void IOnInvalidateRect(CPDF_Rect * pRect) = 0;
177 virtual void SetPlateRect(const CPDF_Rect & rect, FX_BOOL bPaint = TRUE) = 0;
262 virtual CPDF_Rect GetPlateRect() const = 0;
264 virtual CPDF_Rect GetContentRect() const = 0;
380 …const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange, IFX_SystemHandl…
382 const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange);
384 const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange);
410 virtual void IOnInvalidateRect(CPDF_Rect * pRect) = 0;
423 virtual void SetPlateRect(const CPDF_Rect & rect) = 0;
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdf_flatten.cpp11 typedef CFX_ArrayTemplate<CPDF_Rect> CPDF_RectArray;
16 FX_BOOL IsValiableRect(CPDF_Rect rect, CPDF_Rect rcPage) in IsValiableRect()
54 CPDF_Rect rc; in GetContentsRect()
74 CPDF_Rect rect; in ParserStream()
146 pArray[i] = CPDF_Rect(array.GetAt(i)).left; in GetMinMaxValue()
153 pArray[i] = CPDF_Rect(array.GetAt(i)).top; in GetMinMaxValue()
160 pArray[i] = CPDF_Rect(array.GetAt(i)).right; in GetMinMaxValue()
167 pArray[i] = CPDF_Rect(array.GetAt(i)).bottom; in GetMinMaxValue()
191 CPDF_Rect CalculateRect( CPDF_RectArray * pRectArray ) in CalculateRect()
194 CPDF_Rect rcRet; in CalculateRect()
[all …]
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_list.cpp195 CPDF_Rect CFX_List::GetPlateRect() const in GetPlateRect()
200 CPDF_Rect CFX_List::GetContentRect() const in GetContentRect()
308 CPDF_Rect CFX_List::GetItemRect(FX_INT32 nIndex) const in GetItemRect()
312 CPDF_Rect rcItem = pListItem->GetRect(); in GetItemRect()
318 return CPDF_Rect(); in GetItemRect()
530 CPDF_Rect rcPlate = GetPlateRect(); in InToOut()
538 CPDF_Rect rcPlate = GetPlateRect(); in OutToIn()
544 CPDF_Rect CFX_ListCtrl::InToOut(const CPDF_Rect & rect) const in InToOut()
549 return CPDF_Rect(ptLeftBottom.x,ptLeftBottom.y,ptRightTop.x,ptRightTop.y); in InToOut()
552 CPDF_Rect CFX_ListCtrl::OutToIn(const CPDF_Rect & rect) const in OutToIn()
[all …]
Dfxet_pageobjs.cpp16 CPDF_Rect GetUnderLineRect(const CPVT_Word& word) in GetUnderLineRect()
18 return CPDF_Rect(word.ptWord.x, word.ptWord.y + word.fDescent * 0.5f, in GetUnderLineRect()
22 CPDF_Rect GetCrossoutRect(const CPVT_Word& word) in GetCrossoutRect()
24 …return CPDF_Rect(word.ptWord.x, word.ptWord.y + (word.fAscent + word.fDescent) * 0.5f + word.fDesc… in GetCrossoutRect()
81 const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange) in DrawUnderline()
87 CPDF_Rect rcTemp = rcClip; in DrawUnderline()
115 CPDF_Rect rcUnderline = GetUnderLineRect(word); in DrawUnderline()
132 …const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange, IFX_SystemHandl… in DrawEdit()
159 CPDF_Rect rcTemp = rcClip; in DrawEdit()
214 CPDF_Rect rc(word.ptWord.x,line.ptLine.y + line.fLineDescent, in DrawEdit()
[all …]

123