Searched defs:y_scale (Results 1 - 25 of 74) sorted by relevance

123

/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 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 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 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 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 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 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 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);
/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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
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 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 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 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 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 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/cid/
H A Dcidobjs.h109 FT_Fixed y_scale; member in struct:CID_GlyphSlotRec_
H A Dcidgload.c295 glyph->y_scale = cidsize->metrics.y_scale;
404 FT_Fixed y_scale = glyph->y_scale; local
412 vec->y = FT_MulFix( vec->y, y_scale );
417 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale );
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
H A Dt1gload.c311 glyph->y_scale = t1size->metrics.y_scale;
316 glyph->y_scale = 0x10000L;
454 FT_Fixed y_scale = glyph->y_scale; local
462 vec->y = FT_MulFix( vec->y, y_scale );
467 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale );
H A Dt1objs.h127 FT_Fixed y_scale; member in struct:T1_GlyphSlotRec_
/external/chromium_org/third_party/freetype/src/cff/
H A Dcffobjs.h79 FT_Fixed y_scale; member in struct:CFF_GlyphSlotRec_
/external/freetype/src/cff/
H A Dcffobjs.h79 FT_Fixed y_scale; member in struct:CFF_GlyphSlotRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcffobjs.h79 FT_Fixed y_scale; member in struct:CFF_GlyphSlotRec_

Completed in 405 milliseconds

123