Home
last modified time | relevance | path

Searched refs:FX_FLOAT (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/external/pdfium/third_party/agg23/
Dagg_curves.h23 FX_FLOAT cp[8];
25 curve4_points(FX_FLOAT x1, FX_FLOAT y1, in curve4_points()
26 FX_FLOAT x2, FX_FLOAT y2, in curve4_points()
27 FX_FLOAT x3, FX_FLOAT y3, in curve4_points()
28 FX_FLOAT x4, FX_FLOAT y4) in curve4_points()
39 void init(FX_FLOAT x1, FX_FLOAT y1, in init()
40 FX_FLOAT x2, FX_FLOAT y2, in init()
41 FX_FLOAT x3, FX_FLOAT y3, in init()
42 FX_FLOAT x4, FX_FLOAT y4) in init()
53 FX_FLOAT operator [] (unsigned i) const
[all …]
Dagg_math.h24 const FX_FLOAT intersection_epsilon = 1.0e-30f;
25 AGG_INLINE FX_FLOAT calc_point_location(FX_FLOAT x1, FX_FLOAT y1, in calc_point_location()
26 FX_FLOAT x2, FX_FLOAT y2, in calc_point_location()
27 FX_FLOAT x, FX_FLOAT y) in calc_point_location()
31 AGG_INLINE FX_FLOAT calc_distance(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2) in calc_distance()
33 FX_FLOAT dx = x2 - x1; in calc_distance()
34 FX_FLOAT dy = y2 - y1; in calc_distance()
37 AGG_INLINE FX_FLOAT calc_line_point_distance(FX_FLOAT x1, FX_FLOAT y1, in calc_line_point_distance()
38 FX_FLOAT x2, FX_FLOAT y2, in calc_line_point_distance()
39 FX_FLOAT x, FX_FLOAT y) in calc_line_point_distance()
[all …]
Dagg_curves.cpp28 const FX_FLOAT curve_collinearity_epsilon = 1e-30f;
30 void curve4_div::init(FX_FLOAT x1, FX_FLOAT y1, in init()
31 FX_FLOAT x2, FX_FLOAT y2, in init()
32 FX_FLOAT x3, FX_FLOAT y3, in init()
33 FX_FLOAT x4, FX_FLOAT y4) in init()
41 void curve4_div::recursive_bezier(FX_FLOAT x1, FX_FLOAT y1, in recursive_bezier()
42 FX_FLOAT x2, FX_FLOAT y2, in recursive_bezier()
43 FX_FLOAT x3, FX_FLOAT y3, in recursive_bezier()
44 FX_FLOAT x4, FX_FLOAT y4, in recursive_bezier()
50 FX_FLOAT x12 = (x1 + x2) / 2; in recursive_bezier()
[all …]
Dagg_path_storage.h39 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y) in vertex()
51 unsigned last_vertex(FX_FLOAT* x, FX_FLOAT* y) const;
52 unsigned prev_vertex(FX_FLOAT* x, FX_FLOAT* y) const;
53 void move_to(FX_FLOAT x, FX_FLOAT y);
54 void line_to(FX_FLOAT x, FX_FLOAT y);
55 void curve4(FX_FLOAT x_ctrl1, FX_FLOAT y_ctrl1,
56 FX_FLOAT x_ctrl2, FX_FLOAT y_ctrl2,
57 FX_FLOAT x_to, FX_FLOAT y_to);
63 FX_FLOAT x, y;
78 FX_FLOAT x, y;
[all …]
Dagg_vcgen_dash.h41 void add_dash(FX_FLOAT dash_len, FX_FLOAT gap_len);
42 void dash_start(FX_FLOAT ds);
43 void shorten(FX_FLOAT s) in shorten()
52 void add_vertex(FX_FLOAT x, FX_FLOAT y, unsigned cmd);
54 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y);
58 void calc_dash_start(FX_FLOAT ds);
59 FX_FLOAT m_dashes[max_dashes];
60 FX_FLOAT m_total_dash_len;
62 FX_FLOAT m_dash_start;
63 FX_FLOAT m_shorten;
[all …]
Dagg_vcgen_stroke.h64 void width(FX_FLOAT w) in width()
68 void miter_limit(FX_FLOAT ml) in miter_limit()
72 void miter_limit_theta(FX_FLOAT t);
73 void inner_miter_limit(FX_FLOAT ml) in inner_miter_limit()
77 void approximation_scale(FX_FLOAT as) in approximation_scale()
81 FX_FLOAT width() const in width()
85 FX_FLOAT miter_limit() const in miter_limit()
89 FX_FLOAT inner_miter_limit() const in inner_miter_limit()
93 FX_FLOAT approximation_scale() const in approximation_scale()
98 void add_vertex(FX_FLOAT x, FX_FLOAT y, unsigned cmd);
[all …]
/external/pdfium/xfa/src/fxgraphics/src/
Dfx_path_generator.h20 void MoveTo(FX_FLOAT x, FX_FLOAT y);
21 void LineTo(FX_FLOAT x, FX_FLOAT y);
22 void BezierTo(FX_FLOAT ctrl_x1,
23 FX_FLOAT ctrl_y1,
24 FX_FLOAT ctrl_x2,
25 FX_FLOAT ctrl_y2,
26 FX_FLOAT to_x,
27 FX_FLOAT to_y);
29 void ArcTo(FX_FLOAT x,
30 FX_FLOAT y,
[all …]
Dfx_path_generator.cpp37 void CFX_PathGenerator::MoveTo(FX_FLOAT x, FX_FLOAT y) { in MoveTo()
41 void CFX_PathGenerator::LineTo(FX_FLOAT x, FX_FLOAT y) { in LineTo()
45 void CFX_PathGenerator::BezierTo(FX_FLOAT ctrl_x1, in BezierTo()
46 FX_FLOAT ctrl_y1, in BezierTo()
47 FX_FLOAT ctrl_x2, in BezierTo()
48 FX_FLOAT ctrl_y2, in BezierTo()
49 FX_FLOAT to_x, in BezierTo()
50 FX_FLOAT to_y) { in BezierTo()
64 void CFX_PathGenerator::AddLine(FX_FLOAT x1, in AddLine()
65 FX_FLOAT y1, in AddLine()
[all …]
/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonPerspectiveTransform.h11 CBC_CommonPerspectiveTransform(FX_FLOAT a11,
12 FX_FLOAT a21,
13 FX_FLOAT a31,
14 FX_FLOAT a12,
15 FX_FLOAT a22,
16 FX_FLOAT a32,
17 FX_FLOAT a13,
18 FX_FLOAT a23,
19 FX_FLOAT a33);
22 FX_FLOAT x0,
[all …]
DBC_CommonPerspectiveTransform.cpp25 CBC_CommonPerspectiveTransform::CBC_CommonPerspectiveTransform(FX_FLOAT a11, in CBC_CommonPerspectiveTransform()
26 FX_FLOAT a21, in CBC_CommonPerspectiveTransform()
27 FX_FLOAT a31, in CBC_CommonPerspectiveTransform()
28 FX_FLOAT a12, in CBC_CommonPerspectiveTransform()
29 FX_FLOAT a22, in CBC_CommonPerspectiveTransform()
30 FX_FLOAT a32, in CBC_CommonPerspectiveTransform()
31 FX_FLOAT a13, in CBC_CommonPerspectiveTransform()
32 FX_FLOAT a23, in CBC_CommonPerspectiveTransform()
33 FX_FLOAT a33) in CBC_CommonPerspectiveTransform()
46 CBC_CommonPerspectiveTransform::QuadrilateralToQuadrilateral(FX_FLOAT x0, in QuadrilateralToQuadrilateral()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp19 void sRGB_to_AdobeCMYK(FX_FLOAT R, in sRGB_to_AdobeCMYK()
20 FX_FLOAT G, in sRGB_to_AdobeCMYK()
21 FX_FLOAT B, in sRGB_to_AdobeCMYK()
22 FX_FLOAT& c, in sRGB_to_AdobeCMYK()
23 FX_FLOAT& m, in sRGB_to_AdobeCMYK()
24 FX_FLOAT& y, in sRGB_to_AdobeCMYK()
25 FX_FLOAT& k) { in sRGB_to_AdobeCMYK()
69 FX_BOOL CPDF_DeviceCS::GetRGB(FX_FLOAT* pBuf, in GetRGB()
70 FX_FLOAT& R, in GetRGB()
71 FX_FLOAT& G, in GetRGB()
[all …]
Dpageint.h77 FX_FLOAT m_Float;
107 const FX_FLOAT* GetType3Data() const { return m_Type3Data; } in GetType3Data()
116 FX_FLOAT GetNumber(FX_DWORD index);
117 FX_FLOAT GetNumber16(FX_DWORD index);
123 FX_FLOAT fInitKerning,
124 FX_FLOAT* pKerning,
127 void ConvertUserSpace(FX_FLOAT& x, FX_FLOAT& y);
128 void ConvertTextSpace(FX_FLOAT& x, FX_FLOAT& y);
132 void AddPathPoint(FX_FLOAT x, FX_FLOAT y, int flag);
133 void AddPathRect(FX_FLOAT x, FX_FLOAT y, FX_FLOAT w, FX_FLOAT h);
[all …]
/external/pdfium/core/src/fpdftext/
Dtxtproc.h12 FX_FLOAT m_AvgPos;
19 FX_FLOAT m_Left;
20 FX_FLOAT m_Right;
21 FX_FLOAT m_SpaceWidth;
22 FX_FLOAT m_Top;
23 FX_FLOAT m_Bottom;
24 FX_FLOAT m_FontSizeV;
31 void InsertTextBox(FX_FLOAT leftx,
32 FX_FLOAT rightx,
33 FX_FLOAT topy,
[all …]
/external/pdfium/xfa/src/fwl/src/basewidget/include/
Dfwl_scrollbarimp.h31 virtual FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
32 virtual FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
33 virtual FX_FLOAT GetPageSize();
34 virtual FWL_ERR SetPageSize(FX_FLOAT fPageSize);
35 virtual FX_FLOAT GetStepSize();
36 virtual FWL_ERR SetStepSize(FX_FLOAT fStepSize);
37 virtual FX_FLOAT GetPos();
38 virtual FWL_ERR SetPos(FX_FLOAT fPos);
39 virtual FX_FLOAT GetTrackPos();
40 virtual FWL_ERR SetTrackPos(FX_FLOAT fTrackPos);
[all …]
/external/pdfium/xfa/include/fxgraphics/
Dfx_graphics.h169 FX_ERR GetLineDash(FX_FLOAT& dashPhase, FX_FLOAT* dashArray);
171 FX_ERR SetLineDash(FX_FLOAT dashPhase,
172 FX_FLOAT* dashArray,
181 FX_ERR GetMiterLimit(FX_FLOAT& miterLimit);
183 FX_ERR SetMiterLimit(FX_FLOAT miterLimit);
185 FX_ERR GetLineWidth(FX_FLOAT& lineWidth);
187 FX_ERR SetLineWidth(FX_FLOAT lineWidth, FX_BOOL isActOnDash = FALSE);
227 FX_ERR SetFontSize(const FX_FLOAT size);
229 FX_ERR SetFontHScale(const FX_FLOAT scale);
231 FX_ERR SetCharSpacing(const FX_FLOAT spacing);
[all …]
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_ScrollBar.h23 FX_FLOAT fContentMin;
24 FX_FLOAT fContentMax;
25 FX_FLOAT fPlateWidth;
26 FX_FLOAT fBigStep;
27 FX_FLOAT fSmallStep;
60 PWL_FLOATRANGE(FX_FLOAT min, FX_FLOAT max);
62 void Set(FX_FLOAT min, FX_FLOAT max);
63 FX_BOOL In(FX_FLOAT x) const;
64 FX_FLOAT GetWidth() const;
66 FX_FLOAT fMin, fMax;
[all …]
DPWL_Utils.h28 #define PWL_WIN2PDF(color) ((FX_FLOAT)((FX_FLOAT)color / 255.0f))
83 CPWL_Point(FX_FLOAT fx, FX_FLOAT fy) : CPDF_Point(fx, fy) {} in CPWL_Point()
110 static CPDF_Rect InflateRect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
111 static CPDF_Rect DeflateRect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
115 static CPDF_Rect ScaleRect(const CPDF_Rect& rcRect, FX_FLOAT fScale);
120 FX_FLOAT fColorSub);
122 FX_FLOAT fColorDevide);
124 static CPDF_Rect OffsetRect(const CPDF_Rect& rect, FX_FLOAT x, FX_FLOAT y);
126 FX_FLOAT x,
127 FX_FLOAT y);
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_layout_itemlayout.h43 CFX_ArrayTemplate<FX_FLOAT>* m_prgSpecifiedColumnWidths;
44 FX_FLOAT m_fCurColumnWidth;
56 FX_FLOAT fHeightLimit,
57 FX_FLOAT fRealHeight = XFA_LAYOUT_FLOAT_MAX,
60 void GetCurrentComponentPos(FX_FLOAT& fAbsoluteX, FX_FLOAT& fAbsoluteY);
62 void GetCurrentComponentSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight);
64 void SetCurrentComponentPos(FX_FLOAT fAbsoluteX, FX_FLOAT fAbsoluteY);
66 void SetCurrentComponentSize(FX_FLOAT fWidth, FX_FLOAT fHeight);
75 FX_FLOAT fWidth,
76 FX_FLOAT fHeight,
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp45 FX_BOOL GetIntersection(FX_FLOAT low1, in GetIntersection()
46 FX_FLOAT high1, in GetIntersection()
47 FX_FLOAT low2, in GetIntersection()
48 FX_FLOAT high2, in GetIntersection()
49 FX_FLOAT& interlow, in GetIntersection()
50 FX_FLOAT& interhigh) { in GetIntersection()
58 extern "C" int FXSYS_round(FX_FLOAT d) { in FXSYS_round()
59 if (d < (FX_FLOAT)INT_MIN) { in FXSYS_round()
62 if (d > (FX_FLOAT)INT_MAX) { in FXSYS_round()
69 left = (FX_FLOAT)(rect.left); in CFX_FloatRect()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_coordinates.h97 typedef CFX_PSVTemplate<FX_FLOAT> CFX_PointF;
99 typedef CFX_PSVTemplate<FX_FLOAT> CFX_SizeF;
103 typedef CFX_PSVTemplate<FX_FLOAT>* FX_LPPOINTF;
105 typedef CFX_PSVTemplate<FX_FLOAT> const* FX_LPCPOINTF;
130 FX_FLOAT fLen = in Normalize()
160 void Rotate(FX_FLOAT fRadian) { in Rotate()
161 FX_FLOAT xx = (FX_FLOAT)FXT_PSV::x; in Rotate()
162 FX_FLOAT yy = (FX_FLOAT)FXT_PSV::y; in Rotate()
163 FX_FLOAT cosValue = FXSYS_cos(fRadian); in Rotate()
164 FX_FLOAT sinValue = FXSYS_sin(fRadian); in Rotate()
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h42 FX_FLOAT GetPointX(int index) { return m_pObject->m_pPoints[index].m_PointX; } in GetPointX()
44 FX_FLOAT GetPointY(int index) { return m_pObject->m_pPoints[index].m_PointY; } in GetPointY()
50 CFX_FloatRect GetBoundingBox(FX_FLOAT line_width, in GetBoundingBox()
51 FX_FLOAT miter_limit) const { in GetBoundingBox()
61 void AppendRect(FX_FLOAT left, in AppendRect()
62 FX_FLOAT bottom, in AppendRect()
63 FX_FLOAT right, in AppendRect()
64 FX_FLOAT top) { in AppendRect()
138 void SetFillColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues);
140 void SetStrokeColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues);
[all …]
/external/pdfium/xfa/src/fwl/src/core/include/
Dfwl_gridimp.h18 CFWL_GridLength(FX_FLOAT fValue, FWL_GRIDUNIT e) in CFWL_GridLength()
20 FX_FLOAT fLength;
34 FX_FLOAT m_fActualSize;
35 FX_FLOAT m_fActualPos;
67 FX_FLOAT m_Margin[4];
68 FX_FLOAT m_fActualWidth;
69 FX_FLOAT m_fActualHeight;
91 virtual FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
93 FX_FLOAT fSize,
95 FX_FLOAT GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffsignature.h21 virtual FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
22 virtual FX_BOOL OnLButtonUp(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
23 virtual FX_BOOL OnLButtonDblClk(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
24 virtual FX_BOOL OnMouseMove(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
27 FX_FLOAT fx,
28 FX_FLOAT fy);
29 virtual FX_BOOL OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
30 virtual FX_BOOL OnRButtonUp(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
31 virtual FX_BOOL OnRButtonDblClk(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
36 virtual FX_DWORD OnHitTest(FX_FLOAT fx, FX_FLOAT fy);
[all …]
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRGridSampler.h23 FX_FLOAT p1ToX,
24 FX_FLOAT p1ToY,
25 FX_FLOAT p2ToX,
26 FX_FLOAT p2ToY,
27 FX_FLOAT p3ToX,
28 FX_FLOAT p3ToY,
29 FX_FLOAT p4ToX,
30 FX_FLOAT p4ToY,
31 FX_FLOAT p1FromX,
32 FX_FLOAT p1FromY,
[all …]
/external/pdfium/xfa/src/fxbarcode/oned/
DBC_OneDimWriter.cpp69 void CBC_OneDimWriter::SetFontSize(FX_FLOAT size) { in SetFontSize()
134 FX_FLOAT geWidth, in CalcTextInfo()
136 FX_FLOAT& charsLen) { in CalcTextInfo()
142 FX_FLOAT charWidth = 0; in CalcTextInfo()
147 FX_FLOAT temp = (FX_FLOAT)((glyp_value)*fontSize / 1000.0); in CalcTextInfo()
151 FX_FLOAT leftPositon = (FX_FLOAT)(geWidth - charsLen) / 2.0f; in CalcTextInfo()
155 FX_FLOAT penX = 0.0; in CalcTextInfo()
156 FX_FLOAT penY = in CalcTextInfo()
157 (FX_FLOAT)FXSYS_abs(cFont->GetDescent()) * (FX_FLOAT)fontSize / 1000.0f; in CalcTextInfo()
158 FX_FLOAT left = leftPositon; in CalcTextInfo()
[all …]

12345678910>>...16