/external/pdfium/core/include/reflow/ |
fpdf_layout.h | 190 virtual FX_FLOAT GetNumberAttr(LayoutAttr attr_type, int index = 0) = 0; 224 static IPDF_LayoutProcessor* Create_LayoutProcessor_Reflow(FX_FLOAT TopIndent, FX_FLOAT fWidth, FX_FLOAT fHeight, void* pReflowedPage, int flags, FX_FLOAT lineSpace = 0);
|
/external/pdfium/core/src/fxge/agg/include/ |
fx_agg_driver.h | 65 virtual FX_BOOL DrawCosmeticLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2, FX_DWORD color, 93 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color,
|
/external/pdfium/core/include/fpdfapi/ |
fpdf_objects.h | 68 FX_FLOAT GetNumber() const;
70 FX_FLOAT GetNumber16() const;
146 static CPDF_Number* Create(FX_FLOAT value)
170 CPDF_Number(FX_FLOAT value);
190 FX_FLOAT GetNumber() const
192 return m_bInteger ? (FX_FLOAT)m_Integer : m_Float;
195 void SetNumber(FX_FLOAT value);
197 FX_FLOAT GetNumber16() const
202 FX_FLOAT GetFloat() const
204 return m_bInteger ? (FX_FLOAT)m_Integer : m_Float; [all...] |
fpdf_page.h | 160 FX_FLOAT GetPageWidth() const
165 FX_FLOAT GetPageHeight() const
194 FX_FLOAT m_PageWidth;
196 FX_FLOAT m_PageHeight;
|
/external/pdfium/core/src/fxge/dib/ |
fx_dib_engine.cpp | 19 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len));
21 base = (FX_FLOAT)(src_len);
26 m_ItemSize = sizeof(int) * 2 + (int)(sizeof(int) * (FXSYS_ceil(FXSYS_fabs((FX_FLOAT)scale)) + ext_size));
36 if ((flags & FXDIB_NOSMOOTH) != 0 || FXSYS_fabs((FX_FLOAT)scale) < 1.0f) {
41 pixel_weights.m_SrcStart = (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2);
42 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2);
52 pixel_weights.m_Weights[1] = FXSYS_round((FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2) * 65536);
56 pixel_weights.m_SrcStart = (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2);
57 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); [all...] |
/external/pdfium/core/include/fxcodec/ |
fx_codec.h | 281 virtual void Translate(FX_LPVOID pTransform, FX_FLOAT* pSrcValues, FX_FLOAT* pDestValues) = 0;
285 void AdobeCMYK_to_sRGB(FX_FLOAT c, FX_FLOAT m, FX_FLOAT y, FX_FLOAT k, FX_FLOAT& R, FX_FLOAT& G, FX_FLOAT& B);
|
/external/pdfium/core/src/fpdfdoc/ |
tagged_int.h | 69 CPDF_Object* GetAttr(FX_BSTR owner, FX_BSTR name, FX_BOOL bInheritable = FALSE, FX_FLOAT fLevel = 0.0F);
73 FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_BOOL bInheritable = FALSE, int subindex = -1);
|
doc_formcontrol.cpp | 219 FX_FLOAT CPDF_FormControl::GetOriginalColor(int index, CFX_ByteString csEntry)
224 void CPDF_FormControl::GetOriginalColor(int& iColorType, FX_FLOAT fc[4], CFX_ByteString csEntry)
294 FX_FLOAT fFontSize;
371 FX_FLOAT g = pEntry->GetNumber(0) * 255;
375 FX_FLOAT r = pEntry->GetNumber(0) * 255;
376 FX_FLOAT g = pEntry->GetNumber(1) * 255;
377 FX_FLOAT b = pEntry->GetNumber(2) * 255;
381 FX_FLOAT c = pEntry->GetNumber(0);
382 FX_FLOAT m = pEntry->GetNumber(1);
383 FX_FLOAT y = pEntry->GetNumber(2); [all...] |
doc_vt.cpp | 103 CPVT_Size CSection::GetSectionSize(FX_FLOAT fFontSize)
194 FX_FLOAT fTop = 0;
195 FX_FLOAT fBottom = 0;
231 CPVT_WordPlace CSection::SearchWordPlace(FX_FLOAT fx, const CPVT_WordPlace & lineplace) const
239 CPVT_WordPlace CSection::SearchWordPlace(FX_FLOAT fx, const CPVT_WordRange & range) const
330 FX_FLOAT fLineAscent = m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize());
331 FX_FLOAT fLineDescent = m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize());
333 FX_FLOAT x = 0.0f, y = 0.0f;
334 FX_FLOAT fNextWidth;
336 FX_FLOAT fNodeWidth = m_pVT->GetPlateWidth() / (m_pVT->m_nCharArray <= 0 ? 1 : m_pVT->m_nCharArray); [all...] |
/external/pdfium/fpdfsdk/include/pdfwindow/ |
PWL_Wnd.h | 116 CPWL_Color(FX_INT32 type = COLORTYPE_TRANSPARENT, FX_FLOAT color1 = 0.0f, FX_FLOAT color2 = 0.0f, FX_FLOAT color3 = 0.0f, FX_FLOAT color4 = 0.0f)
133 FX_FLOAT fColor1,fColor2,fColor3,fColor4;
243 FX_FLOAT fFontSize; //optional
329 virtual FX_FLOAT GetFontSize() const;
336 virtual void SetFontSize(FX_FLOAT fFontSize);
390 virtual FX_FLOAT GetItemHeight(FX_FLOAT fLimitWidth) {return 0;} [all...] |
PWL_Caret.h | 48 FX_FLOAT m_fWidth;
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_device.cpp | 105 path.AppendRect((FX_FLOAT)(pRect->left), (FX_FLOAT)(pRect->bottom), (FX_FLOAT)(pRect->right), (FX_FLOAT)(pRect->top));
144 FX_FLOAT x1, x2, y1, y2;
176 if (rect_f.left - (FX_FLOAT)(rect_i.left) > (FX_FLOAT)(rect_i.right) - rect_f.right) {
183 if (rect_f.top - (FX_FLOAT)(rect_i.top) > (FX_FLOAT)(rect_i.bottom) - rect_f.bottom) {
233 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a); [all...] |
/external/pdfium/core/src/reflow/ |
layoutprovider_taggedpdf.h | 22 FX_FLOAT GetNumberAttr(LayoutAttr attr_type, int index); 46 FX_FLOAT GetDefaultFloatValue(LayoutAttr attr_type);
|
autoreflow.cpp | 43 FX_FLOAT originX, originY, prevOriginX, preOriginY; 127 FX_FLOAT CPDF_AutoReflowElement::GetNumberAttr(LayoutAttr attr_type, int index ) 147 FX_FLOAT width = m_pPDFPage->GetPageWidth(); 148 FX_FLOAT height = m_pPDFPage->GetPageHeight(); 442 FX_FLOAT height = FX_MIN(rcPreObj.Height(), rcCurObj.Height()); 490 FX_FLOAT PDFWidth = m_pPDFPage->GetPageWidth(); 491 FX_FLOAT PDFHeight = m_pPDFPage->GetPageHeight(); 496 FX_FLOAT PrevX = 0 , PrevY = 0, PosX, PosY; 568 FX_FLOAT x = ((CPDF_TextObject*)pObj)->GetPosX(), y = ((CPDF_TextObject*)pObj)->GetPosY(); 584 FX_FLOAT CPDF_AutoReflowLayoutProvider::GetLayoutOrderHeight(CPDF_PageObject* pCurObj [all...] |
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_Utils.cpp | 22 CPDF_Rect CFFL_Utils::InflateRect(const CPDF_Rect & crRect,const FX_FLOAT & fSize)
32 CPDF_Rect CFFL_Utils::DeflateRect(const CPDF_Rect & crRect,const FX_FLOAT & fSize)
56 FX_BOOL CFFL_Utils::RectContainsXY(const CPDF_Rect & father,FX_FLOAT x,FX_FLOAT y)
|
/external/pdfium/fpdfsdk/src/ |
fpdftext.cpp | 92 return textpage->GetIndexAtPos((FX_FLOAT)x,(FX_FLOAT)y,(FX_FLOAT)xTorelance,(FX_FLOAT)yTorelance);
138 CFX_FloatRect rect((FX_FLOAT)left,(FX_FLOAT)bottom,(FX_FLOAT)right,(FX_FLOAT)top);
|
fpdf_transformpage.cpp | 19 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(right)));
20 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(top)));
35 pCropBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(right)));
36 pCropBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(top)));
194 CFX_AffineMatrix matrix((FX_FLOAT)a,(FX_FLOAT)b,(FX_FLOAT)c,(FX_FLOAT)d,(FX_FLOAT)e,(FX_FLOAT)f); [all...] |
/external/pdfium/core/include/fpdfdoc/ |
fpdf_doc.h | 166 FX_FLOAT GetParam(int index);
418 FX_FLOAT GetVolume() const
558 CPDF_Link GetLinkAtPoint(CPDF_Page* pPage, FX_FLOAT pdf_x, FX_FLOAT pdf_y);
779 void GetFont(CFX_ByteString& csFontNameTag, FX_FLOAT& fFontSize);
788 void GetColor(int& iColorType, FX_FLOAT fc[4], FX_BOOL bStrokingOperation = FALSE);
886 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage, FX_FLOAT pdf_x, FX_FLOAT pdf_y) const;
1236 FX_FLOAT GetFontSize()
1288 FX_FLOAT m_FontSize; [all...] |
/external/pdfium/core/include/fxcrt/ |
fx_xml.h | 145 FX_BOOL GetAttrFloat(FX_BSTR name, FX_FLOAT& attribute) const;
146 FX_FLOAT GetAttrFloat(FX_BSTR name) const
148 FX_FLOAT attr = 0;
153 FX_BOOL GetAttrFloat(FX_BSTR space, FX_BSTR name, FX_FLOAT& attribute) const;
154 FX_FLOAT GetAttrFloat(FX_BSTR space, FX_BSTR name) const
156 FX_FLOAT attr = 0;
|
/external/pdfium/core/src/fxcrt/ |
fx_extension.cpp | 150 FX_FLOAT FXSYS_tan(FX_FLOAT a)
152 return (FX_FLOAT)tan(a);
154 FX_FLOAT FXSYS_logb(FX_FLOAT b, FX_FLOAT x)
158 FX_FLOAT FXSYS_strtof(FX_LPCSTR pcsStr, FX_INT32 iLength, FX_INT32 *pUsedLen)
167 FX_FLOAT FXSYS_wcstof(FX_LPCWSTR pwsStr, FX_INT32 iLength, FX_INT32 *pUsedLen)
185 FX_FLOAT fValue = 0.0f;
196 FX_FLOAT fPrecise = 0.1f; [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_graph_state.cpp | 238 void CPDF_ColorState::SetFillColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues)
243 void CPDF_ColorState::SetStrokeColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues)
248 void CPDF_ColorState::SetColor(CPDF_Color& color, FX_DWORD& rgb, CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues)
262 void CPDF_ColorState::SetFillPattern(CPDF_Pattern* pPattern, FX_FLOAT* pValue, int nValues)
274 void CPDF_ColorState::SetStrokePattern(CPDF_Pattern* pPattern, FX_FLOAT* pValue, int nValues)
322 FX_FLOAT CPDF_TextState::GetFontSizeV() const
324 FX_FLOAT* pMatrix = GetMatrix();
325 FX_FLOAT unit = FXSYS_sqrt2(pMatrix[1], pMatrix[3]);
326 FX_FLOAT size = FXSYS_Mul(unit, GetFontSize());
327 return (FX_FLOAT)FXSYS_fabs(size); [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_EditCtrl.cpp | 114 FX_FLOAT fPos = *(FX_FLOAT*)lParam;
160 void CPWL_EditCtrl::SetFontSize(FX_FLOAT fFontSize)
165 FX_FLOAT CPWL_EditCtrl::GetFontSize() const
539 FX_FLOAT CPWL_EditCtrl::GetCaretFontSize() const
541 FX_FLOAT fFontSize = GetFontSize();
637 void CPWL_EditCtrl::IOnSetScrollInfoY(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
638 FX_FLOAT fContentMin, FX_FLOAT fContentMax, [all...] |
PWL_ListBox.cpp | 31 void CPWL_List_Notify::IOnSetScrollInfoY(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
32 FX_FLOAT fContentMin, FX_FLOAT fContentMax,
33 FX_FLOAT fSmallStep, FX_FLOAT fBigStep)
67 void CPWL_List_Notify::IOnSetScrollPosY(FX_FLOAT fy)
363 FX_FLOAT fPos;
390 fPos = *(FX_FLOAT*)lParam;
486 void CPWL_ListBox::SetFontSize(FX_FLOAT fFontSize) [all...] |
PWL_Caret.cpp | 52 FX_FLOAT fCaretX = rcRect.left + m_fWidth * 0.5f;
53 FX_FLOAT fCaretTop = rcRect.top;
54 FX_FLOAT fCaretBottom = rcRect.bottom;
|
PWL_Label.cpp | 56 void CPWL_Label::SetFontSize(FX_FLOAT fFontSize)
61 FX_FLOAT CPWL_Label::GetFontSize() const
140 void CPWL_Label::SetCharSpace(FX_FLOAT fCharSpace)
|