/external/pdfium/fpdfsdk/include/pdfwindow/ |
PWL_Signature.h | 27 virtual void GetScale(FX_FLOAT & fHScale,FX_FLOAT & fVScale);
|
PWL_Edit.h | 17 virtual void QueryWherePopup(void* pPrivateData, FX_FLOAT fPopupMin,FX_FLOAT fPopupMax,
18 FX_INT32 & nRet, FX_FLOAT & fPopupRet) = 0; //nRet: (0:bottom 1:top)
60 void SetCharSpace(FX_FLOAT fCharSpace, FX_BOOL bPaint = TRUE);
62 void SetLineLeading(FX_FLOAT fLineLeading, FX_BOOL bPaint = TRUE);
85 static FX_FLOAT GetCharArrayAutoFontSize(CPDF_Font* pFont, const CPDF_Rect& rcPlate, FX_INT32 nCharArray);
114 FX_FLOAT GetCharArrayAutoFontSize(FX_INT32 nCharArray);
|
PWL_Note.h | 137 virtual FX_FLOAT GetItemHeight(FX_FLOAT fLimitWidth);
138 FX_FLOAT GetItemLeftMargin();
139 FX_FLOAT GetItemRightMargin();
151 FX_FLOAT m_fOldItemHeight;
153 FX_FLOAT m_fOldMin;
154 FX_FLOAT m_fOldMax;
257 virtual FX_FLOAT GetItemHeight(FX_FLOAT fLimitWidth);
258 virtual FX_FLOAT GetItemLeftMargin(); [all...] |
/external/pdfium/core/include/fxcrt/ |
fx_system.h | 83 typedef float FX_FLOAT;
237 #define FXSYS_pow(a, b) (FX_FLOAT)powf(a, b)
239 #define FXSYS_pow(a, b) (FX_FLOAT)pow(a, b)
241 #define FXSYS_sqrt(a) (FX_FLOAT)sqrt(a)
242 #define FXSYS_fabs(a) (FX_FLOAT)fabs(a)
243 #define FXSYS_atan2(a, b) (FX_FLOAT)atan2(a, b)
244 #define FXSYS_ceil(a) (FX_FLOAT)ceil(a)
245 #define FXSYS_floor(a) (FX_FLOAT)floor(a)
246 #define FXSYS_cos(a) (FX_FLOAT)cos(a)
247 #define FXSYS_acos(a) (FX_FLOAT)acos(a) [all...] |
/external/pdfium/core/include/fxge/ |
fx_ge.h | 44 void SetTextGamma(FX_FLOAT gammaValue);
77 FX_FLOAT m_PointX;
79 FX_FLOAT m_PointY;
172 FX_FLOAT GetPointX(int index) const
177 FX_FLOAT GetPointY(int index) const
197 CFX_FloatRect GetBoundingBox(FX_FLOAT line_width, FX_FLOAT miter_limit) const;
209 FX_BOOL AppendRect(FX_FLOAT left, FX_FLOAT bottom, FX_FLOAT right, FX_FLOAT top); [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page.cpp | 135 FX_FLOAT fontsize = m_TextState.GetFontSize();
151 void CPDF_TextObject::GetCharInfo(int index, FX_DWORD& charcode, FX_FLOAT& kerning) const
207 m_pCharPos = FX_Alloc(FX_FLOAT, m_nChars - 1);
223 FX_FLOAT* pTextMatrix = m_TextState.GetMatrix();
226 void CPDF_TextObject::SetSegments(const CFX_ByteString* pStrs, FX_FLOAT* pKerning, int nsegs)
244 m_pCharPos = FX_Alloc(FX_FLOAT, m_nChars - 1);
281 void CPDF_TextObject::SetText(CFX_ByteString* pStrs, FX_FLOAT* pKerning, int nSegs)
286 void CPDF_TextObject::SetText(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pKernings)
305 m_pCharPos = FX_Alloc(FX_FLOAT, m_nChars - 1);
321 FX_FLOAT CPDF_TextObject::GetCharWidth(FX_DWORD charcode) const [all...] |
fpdf_page_pattern.cpp | 40 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("XStep")));
41 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("YStep")));
182 void CPDF_MeshStream::GetCoords(FX_FLOAT& x, FX_FLOAT& y)
185 x = m_xmin + (FX_FLOAT)(m_BitStream.GetBits(m_nCoordBits) * (m_xmax - m_xmin) / (double)m_CoordMax);
186 y = m_ymin + (FX_FLOAT)(m_BitStream.GetBits(m_nCoordBits) * (m_ymax - m_ymin) / (double)m_CoordMax);
192 void CPDF_MeshStream::GetColor(FX_FLOAT& r, FX_FLOAT& g, FX_FLOAT& b)
195 FX_FLOAT color_value[8]; [all...] |
/external/pdfium/core/src/reflow/ |
autoreflow.h | 37 FX_FLOAT GetNumberAttr(LayoutAttr attr_type, int index); 65 FX_FLOAT m_SpaceBefore; 87 FX_FLOAT GetObjMinCell(CPDF_PageObject* pObj); 96 FX_FLOAT GetLayoutOrderHeight(CPDF_PageObject* pCurObj); 97 FX_FLOAT GetLayoutOrderWidth(CPDF_PageObject* pCurObj);
|
reflowedtextpage.cpp | 84 FX_FLOAT ReltiveCorddDs = pData->m_pCharState->m_fDescent; 85 FX_FLOAT ReltiveCorddAs = pData->m_pCharState->m_fAscent; 102 extern FX_BOOL GetIntersection(FX_FLOAT low1, FX_FLOAT high1, FX_FLOAT low2, FX_FLOAT high2, FX_FLOAT& interlow, FX_FLOAT& interhigh); 113 FX_FLOAT interlow = .0f, interhigh = .0f; 150 inline FX_FLOAT _GetDistance(CFX_FloatRect floatRect, CPDF_Point point [all...] |
reflowedpage.cpp | 197 display_matrix.Set(FXSYS_Div((FX_FLOAT)(x2 - x0), m_PageWidth), 198 FXSYS_Div((FX_FLOAT)(y2 - y0), m_PageWidth), 199 FXSYS_Div((FX_FLOAT)(x1 - x0), m_PageHeight), 200 FXSYS_Div((FX_FLOAT)(y1 - y0), m_PageHeight), 201 (FX_FLOAT)(x0), (FX_FLOAT)(y0)); 206 FX_FLOAT CPDF_ReflowedPage::GetPageHeight() 217 FX_FLOAT x1, y1; 220 FX_FLOAT dx = 1000, dy = 1000; 225 FX_FLOAT tempdy = FXSYS_fabs(pData->m_PosY - y1) [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_text.cpp | 24 CFX_GlyphBitmap* CPDF_Type3Cache::LoadGlyph(FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY)
53 static int _AdjustBlue(FX_FLOAT pos, int& count, int blues[])
55 FX_FLOAT min_distance = 1000000.0f * 1.0f;
58 FX_FLOAT distance = (FX_FLOAT)FXSYS_fabs(pos - (FX_FLOAT)blues[i]);
74 void CPDF_Type3Glyphs::AdjustBlue(FX_FLOAT top, FX_FLOAT bottom, int& top_line, int& bottom_line)
125 CFX_GlyphBitmap* CPDF_Type3Cache::RenderGlyph(CPDF_Type3Glyphs* pSize, FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY) [all...] |
fpdf_render_pattern.cpp | 22 FX_FLOAT start_x = pCoords->GetNumber(0);
23 FX_FLOAT start_y = pCoords->GetNumber(1);
24 FX_FLOAT end_x = pCoords->GetNumber(2);
25 FX_FLOAT end_y = pCoords->GetNumber(3);
26 FX_FLOAT t_min = 0, t_max = 1.0f;
40 FX_FLOAT x_span = end_x - start_x;
41 FX_FLOAT y_span = end_y - start_y;
42 FX_FLOAT axis_len_square = FXSYS_Mul(x_span, x_span) + FXSYS_Mul(y_span, y_span);
54 CFX_FixedBufGrow<FX_FLOAT, 16> result_array(total_results);
55 FX_FLOAT* pResults = result_array; [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdfeditpage.cpp | 88 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(width)));
89 pMediaBoxArray->Add(FX_NEW CPDF_Number(FX_FLOAT(height)));
284 CFX_AffineMatrix matrix((FX_FLOAT)a,(FX_FLOAT)b,(FX_FLOAT)c,(FX_FLOAT)d,(FX_FLOAT)e,(FX_FLOAT)f);
300 CFX_AffineMatrix matrix((FX_FLOAT)a,(FX_FLOAT)b,(FX_FLOAT)c,(FX_FLOAT)d,(FX_FLOAT)e,(FX_FLOAT)f); [all...] |
fpdf_flatten.cpp | 133 FX_FLOAT GetMinMaxValue( CPDF_RectArray& array, FPDF_TYPE type, FPDF_VALUE value)
136 FX_FLOAT fRet = 0.0f;
140 FX_FLOAT* pArray = new FX_FLOAT[nRects];
283 FX_FLOAT a = rcAnnot.Width()/rcStream.Width();
284 FX_FLOAT d = rcAnnot.Height()/rcStream.Height();
286 FX_FLOAT e = rcAnnot.left - rcStream.left * a;
287 FX_FLOAT f = rcAnnot.bottom - rcStream.bottom * d;
291 void GetOffset(FX_FLOAT& fa, FX_FLOAT& fd, FX_FLOAT& fe, FX_FLOAT& ff, CPDF_Rect rcAnnot, CPDF_Rect rcStream, CFX_AffineMatrix matrix) [all...] |
/external/pdfium/core/include/fpdfdoc/ |
fpdf_tagged.h | 86 virtual CPDF_Object* GetAttr(FX_BSTR owner, FX_BSTR name, FX_BOOL bInheritable = FALSE, FX_FLOAT fLevel = 0.0F) = 0;
94 virtual FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0;
|
/external/pdfium/core/include/fpdfapi/ |
fpdf_render.h | 214 static void DrawTextString(CFX_RenderDevice* pDevice, FX_FLOAT origin_x, FX_FLOAT origin_y,
216 FX_FLOAT font_size,
225 static FX_BOOL DrawTextPath(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos,
226 CPDF_Font* pFont, FX_FLOAT font_size,
231 static FX_BOOL DrawNormalText(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos,
232 CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device,
235 static FX_BOOL DrawType3Text(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos,
236 CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device,
|
/external/pdfium/core/src/fxge/agg/agg23/ |
agg_basics.h | 143 typedef rect_base<FX_FLOAT> rect_d; 261 FX_FLOAT x, y; 264 point_type(FX_FLOAT x_, FX_FLOAT y_, unsigned flag_ = 0) : x(x_), y(y_), flag(flag_) {} 272 point_type_flag(FX_FLOAT x_, FX_FLOAT y_, unsigned flag_ = 0) : point_type(x_, y_), flag(flag_) {} 275 FX_FLOAT x, y; 278 vertex_type(FX_FLOAT x_, FX_FLOAT y_, unsigned cmd_) :
|
agg_rasterizer_scanline_aa.h | 45 inline int poly_coord(FX_FLOAT c) 219 void clip_box(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2) 226 void add_vertex(FX_FLOAT x, FX_FLOAT y, unsigned cmd) 374 FX_FLOAT x; 375 FX_FLOAT y; 385 FX_FLOAT x [all...] |
/external/pdfium/core/src/fxge/apple/ |
apple_int.h | 55 FX_FLOAT fontSize,
132 virtual FX_BOOL DrawCosmeticLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2, FX_DWORD color,
155 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color,
159 void setStrokeInfo(const CFX_GraphStateData * graphState, FX_ARGB argb, FX_FLOAT lineWidth);
162 FX_FLOAT getLineWidth(const CFX_GraphStateData * graphState, CGAffineTransform ctm);
169 FX_FLOAT font_size,
|
/external/pdfium/fpdfsdk/include/fxedit/ |
fxet_list.h | 21 CLST_Size(FX_FLOAT x,FX_FLOAT y)
38 FX_FLOAT x,y;
49 CLST_Rect(FX_FLOAT left,FX_FLOAT top,
50 FX_FLOAT right,FX_FLOAT bottom)
91 FX_FLOAT Width() const
96 FX_FLOAT Height() const
166 void SetFontSize(FX_FLOAT fFontSize); [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_ScrollBar.cpp | 25 PWL_FLOATRANGE::PWL_FLOATRANGE(FX_FLOAT min,FX_FLOAT max)
36 void PWL_FLOATRANGE::Set(FX_FLOAT min,FX_FLOAT max)
50 FX_BOOL PWL_FLOATRANGE::In(FX_FLOAT x) const
56 FX_FLOAT PWL_FLOATRANGE::GetWidth() const
77 void PWL_SCROLL_PRIVATEDATA::SetScrollRange(FX_FLOAT min,FX_FLOAT max)
87 void PWL_SCROLL_PRIVATEDATA::SetClientWidth(FX_FLOAT width)
92 void PWL_SCROLL_PRIVATEDATA::SetSmallStep(FX_FLOAT step) [all...] |
PWL_Utils.cpp | 84 CPDF_Rect CPWL_Utils::OffsetRect(const CPDF_Rect & rect,FX_FLOAT x,FX_FLOAT y)
98 FX_FLOAT left = rect1.left > rect2.left ? rect1.left : rect2.left;
99 FX_FLOAT right = rect1.right < rect2.right ? rect1.right : rect2.right;
100 FX_FLOAT bottom = rect1.bottom > rect2.bottom ? rect1.bottom : rect2.bottom;
101 FX_FLOAT top = rect1.top < rect2.top ? rect1.top : rect2.top;
106 CPDF_Point CPWL_Utils::OffsetPoint(const CPDF_Point& point,FX_FLOAT x,FX_FLOAT y)
143 FX_FLOAT fWidth = crBBox.right - crBBox.left;
144 FX_FLOAT fHeight = crBBox.top - crBBox.bottom; [all...] |
/external/pdfium/core/src/fpdftext/ |
fpdf_text_search.cpp | 95 FX_FLOAT last_pos = item.m_OriginX;
97 FX_FLOAT last_width = nLastWidth * pPrevObj->GetFontSize() / 1000;
105 FX_FLOAT this_width = nThisWidth * pObj->GetFontSize() / 1000;
107 FX_FLOAT threshold = last_width > this_width ? last_width / 4 : this_width / 4;
111 FX_FLOAT x = pObj->GetPosX(), y = pObj->GetPosY();
116 threshold = (FX_FLOAT)(nLastWidth > nThisWidth ? nLastWidth : nThisWidth);
145 FX_FLOAT fs = pObj->GetFontSize();
191 FX_FLOAT Ignorekerning = 0;
206 FX_FLOAT spacing = 0;
215 FX_FLOAT fontsize_h = pObj->m_TextState.GetFontSizeH(); [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge.cpp | 62 void CFX_GEModule::SetTextGamma(FX_FLOAT gammaValue)
67 m_GammaValue[i] = (FX_BYTE)(FXSYS_pow((FX_FLOAT)i / 255, gammaValue) * 255.0f + 0.5f);
|
/external/pdfium/fpdfsdk/src/javascript/ |
color.cpp | 146 color = CPWL_Color(COLORTYPE_GRAY, (FX_FLOAT)d1);
150 color = CPWL_Color(COLORTYPE_RGB, (FX_FLOAT)d1, (FX_FLOAT)d2, (FX_FLOAT)d3);
154 color = CPWL_Color(COLORTYPE_CMYK, (FX_FLOAT)d1, (FX_FLOAT)d2, (FX_FLOAT)d3, (FX_FLOAT)d4);
|