Searched refs:y_scale (Results 1 - 25 of 132) sorted by relevance

123456

/external/chromium_org/ui/gfx/geometry/
H A Dpoint_f.cc17 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { argument
19 scaled_p.Scale(x_scale, y_scale);
H A Dsize_f.cc17 SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) { argument
19 scaled_s.Scale(x_scale, y_scale);
H A Dinsets.h29 Insets Scale(float x_scale, float y_scale) const {
30 return Insets(static_cast<int>(top() * y_scale),
32 static_cast<int>(bottom() * y_scale),
H A Dvector2d_f.cc39 void Vector2dF::Scale(float x_scale, float y_scale) { argument
41 y_ *= y_scale;
54 Vector2dF ScaleVector2d(const Vector2dF& v, float x_scale, float y_scale) { argument
56 scaled_v.Scale(x_scale, y_scale);
H A Dvector3d_f.cc60 void Vector3dF::Scale(float x_scale, float y_scale, float z_scale) { argument
62 y_ *= y_scale;
81 float y_scale,
84 scaled_v.Scale(x_scale, y_scale, z_scale);
79 ScaleVector3d(const Vector3dF& v, float x_scale, float y_scale, float z_scale) argument
H A Dsize_f.h28 void Scale(float x_scale, float y_scale) { argument
29 SetSize(width() * x_scale, height() * y_scale);
43 GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale);
H A Dbox_f.h50 void Scale(float x_scale, float y_scale, float z_scale) { argument
51 origin_.Scale(x_scale, y_scale, z_scale);
52 set_size(width_ * x_scale, height_ * y_scale, depth_ * z_scale);
129 float y_scale,
132 b.y() * y_scale,
135 b.height() * y_scale,
H A Drect.h108 float y_scale) {
110 int y = std::floor(rect.y() * y_scale);
112 int b = rect.height() == 0 ? y : std::ceil(rect.bottom() * y_scale);
122 float y_scale) {
124 int y = std::ceil(rect.y() * y_scale);
126 int b = rect.height() == 0 ? y : std::floor(rect.bottom() * y_scale);
106 ScaleToEnclosingRect(const Rect& rect, float x_scale, float y_scale) argument
120 ScaleToEnclosedRect(const Rect& rect, float x_scale, float y_scale) argument
H A Drect_f.h51 void Scale(float x_scale, float y_scale) { argument
52 set_origin(ScalePoint(origin(), x_scale, y_scale));
53 set_size(ScaleSize(size(), x_scale, y_scale));
91 inline RectF ScaleRect(const RectF& r, float x_scale, float y_scale) { argument
92 return RectF(r.x() * x_scale, r.y() * y_scale,
93 r.width() * x_scale, r.height() * y_scale);
H A Dpoint_f.h28 void Scale(float x_scale, float y_scale) { argument
29 SetPoint(x() * x_scale, y() * y_scale);
64 GFX_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale);
H A Dpoint3_f.h32 void Scale(float x_scale, float y_scale, float z_scale) { argument
33 SetPoint(x() * x_scale, y() * y_scale, z() * z_scale);
110 float y_scale,
112 return Point3F(p.x() * x_scale, p.y() * y_scale, p.z() * z_scale);
108 ScalePoint(const Point3F& p, float x_scale, float y_scale, float z_scale) argument
H A Dquad_f.cc90 void QuadF::Scale(float x_scale, float y_scale) { argument
91 p1_.Scale(x_scale, y_scale);
92 p2_.Scale(x_scale, y_scale);
93 p3_.Scale(x_scale, y_scale);
94 p4_.Scale(x_scale, y_scale);
H A Dvector2d_f.h59 // Scale the x and y components of the vector by |x_scale| and |y_scale|
61 void Scale(float x_scale, float y_scale);
104 float y_scale);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dgen7_viewport_state.c36 GLfloat y_scale, y_bias; local
54 y_scale = 1.0;
57 y_scale = -1.0;
63 vp->viewport.m11 = v[MAT_SY] * y_scale;
66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
H A Dgen6_viewport_state.c73 GLfloat y_scale, y_bias; local
83 y_scale = 1.0;
86 y_scale = -1.0;
92 sfv->viewport.m11 = v[MAT_SY] * y_scale;
95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
H A Dbrw_sf_state.c48 GLfloat y_scale, y_bias; local
57 y_scale = 1.0;
61 y_scale = -1.0;
68 sfv->viewport.m11 = v[MAT_SY] * y_scale;
71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen7_viewport_state.c36 GLfloat y_scale, y_bias; local
54 y_scale = 1.0;
57 y_scale = -1.0;
63 vp->viewport.m11 = v[MAT_SY] * y_scale;
66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
H A Dgen6_viewport_state.c73 GLfloat y_scale, y_bias; local
83 y_scale = 1.0;
86 y_scale = -1.0;
92 sfv->viewport.m11 = v[MAT_SY] * y_scale;
95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
H A Dbrw_sf_state.c48 GLfloat y_scale, y_bias; local
57 y_scale = 1.0;
61 y_scale = -1.0;
68 sfv->viewport.m11 = v[MAT_SY] * y_scale;
71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftpfr.c66 FT_Fixed x_scale, y_scale; local
76 x_scale = y_scale = 0x10000L;
80 y_scale = face->size->metrics.y_scale;
87 *ametrics_y_scale = y_scale;
/external/harfbuzz_ng/test/api/
H A Dtest-font.c367 int x_scale, y_scale; local
384 x_scale = y_scale = 13;
387 x_scale = y_scale = 13;
388 hb_font_get_scale (font, NULL, &y_scale);
389 g_assert_cmpint (y_scale, ==, 0);
390 x_scale = y_scale = 13;
391 hb_font_get_scale (font, &x_scale, &y_scale);
393 g_assert_cmpint (y_scale, ==, 0);
397 x_scale = y_scale = 13;
398 hb_font_get_scale (font, &x_scale, &y_scale);
[all...]
/external/freetype/src/autofit/
H A Dafdummy.c32 hints->y_scale = metrics->scaler.y_scale;
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-font-private.hh101 int y_scale; member in struct:hb_font_t
115 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); }
124 if (unlikely (parent && parent->y_scale != y_scale))
125 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale);
272 *y = y_scale;
/external/harfbuzz_ng/src/
H A Dhb-font-private.hh101 int y_scale; member in struct:hb_font_t
115 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); }
124 if (unlikely (parent && parent->y_scale != y_scale))
125 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale);
272 *y = y_scale;
/external/chromium_org/third_party/freetype/src/autofit/
H A Daftypes.h185 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member in struct:AF_ScalerRec_
196 (a)->y_scale == (b)->y_scale && \

Completed in 336 milliseconds

123456