Searched refs:metrics (Results 51 - 75 of 707) sorted by last modified time

1234567891011>>

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcffgload.c2654 glyph->x_scale = size->root.metrics.x_scale;
2655 glyph->y_scale = size->root.metrics.y_scale;
2675 TT_SBit_MetricsRec metrics; local
2684 &metrics );
2696 glyph->root.metrics.width = (FT_Pos)metrics.width << 6;
2697 glyph->root.metrics.height = (FT_Pos)metrics.height << 6;
2699 glyph->root.metrics.horiBearingX = (FT_Pos)metrics
2914 FT_Incremental_MetricsRec metrics; local
2955 FT_Glyph_Metrics* metrics = &glyph->root.metrics; local
[all...]
H A Dcffobjs.c234 size->metrics.x_scale, size->metrics.y_scale,
246 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm );
247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm );
251 x_scale = size->metrics.x_scale;
252 y_scale = size->metrics.y_scale;
306 size->metrics.x_scale, size->metrics.y_scale,
318 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm );
319 y_scale = FT_MulDiv( size->metrics
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/
H A Dcidgload.c169 /* Incremental fonts can optionally override the metrics. */
172 FT_Incremental_MetricsRec metrics; local
175 metrics.bearing_x = FIXED_TO_INT( decoder->builder.left_bearing.x );
176 metrics.bearing_y = 0;
177 metrics.advance = FIXED_TO_INT( decoder->builder.advance.x );
178 metrics.advance_v = FIXED_TO_INT( decoder->builder.advance.y );
181 glyph_index, FALSE, &metrics );
183 decoder->builder.left_bearing.x = INT_TO_FIXED( metrics.bearing_x );
184 decoder->builder.advance.x = INT_TO_FIXED( metrics.advance );
185 decoder->builder.advance.y = INT_TO_FIXED( metrics
359 FT_Glyph_Metrics* metrics = &cidglyph->metrics; local
[all...]
H A Dcidobjs.c168 size->metrics.x_scale,
169 size->metrics.y_scale,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dpngshim.c182 TT_SBit_Metrics metrics,
199 if ( x_offset < 0 || x_offset + metrics->width > map->width ||
200 y_offset < 0 || y_offset + metrics->height > map->rows ||
242 (FT_Int)imgWidth != metrics->width ||
243 (FT_Int)imgHeight != metrics->height )
178 Load_SBit_Png( FT_Bitmap* map, FT_Int x_offset, FT_Int y_offset, FT_Int pix_bits, TT_SBit_Metrics metrics, FT_Memory memory, FT_Byte* data, FT_UInt png_len ) argument
H A Dpngshim.h36 TT_SBit_Metrics metrics,
H A Dsfobjs.c592 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */
652 /* do not load the metrics headers and tables if this is an Apple */
667 /* overriding metrics, tolerate a missing `hmtx' table. */
694 /* overriding metrics, tolerate a missing `hhea' table. */
931 FT_Size_Metrics metrics; local
948 error = sfnt->load_strike_metrics( face, i, &metrics );
952 bsize->height = (FT_Short)( metrics.height >> 6 );
954 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size );
956 bsize->x_ppem = metrics.x_ppem << 6;
957 bsize->y_ppem = metrics
[all...]
H A Dttbdf.c180 if ( _ppem == size->metrics.y_ppem )
H A Dttsbit.c137 FT_Size_Metrics* metrics )
147 metrics->x_ppem = (FT_UShort)strike[44];
148 metrics->y_ppem = (FT_UShort)strike[45];
150 metrics->ascender = (FT_Char)strike[16] << 6; /* hori.ascender */
151 metrics->descender = (FT_Char)strike[17] << 6; /* hori.descender */
152 metrics->height = metrics->ascender - metrics->descender;
155 metrics->max_advance = ( (FT_Char)strike[22] + /* min_origin_SB */
169 TT_SBit_Metrics metrics; member in struct:TT_SBitDecoderRec_
347 TT_SBit_Metrics metrics = decoder->metrics; local
[all...]
H A Dttsbit.h46 FT_Size_Metrics* metrics );
55 TT_SBit_MetricsRec *metrics );
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttdriver.c266 /* use the scaled metrics, even when tt_size_reset fails */
274 FT_Size_Metrics* metrics = &size->metrics; local
277 error = sfnt->load_strike_metrics( ttface, strike_index, metrics );
320 ttsize->root.metrics = ttsize->metrics;
H A Dttgload.c71 /* Return the horizontal metrics in font units for a given glyph. */
88 /* Return the vertical metrics in font units for a given glyph. */
191 /* overriding metrics for this glyph. */
195 FT_Incremental_MetricsRec metrics; local
199 metrics.bearing_x = loader->left_bearing;
200 metrics.bearing_y = 0;
201 metrics.advance = loader->advance;
202 metrics.advance_v = 0;
206 glyph_index, FALSE, &metrics );
210 left_bearing = (FT_Short)metrics
1829 FT_Incremental_MetricsRec metrics; local
1893 TT_SBit_MetricsRec metrics; local
[all...]
H A Dttinterp.c592 exec->metrics = size->metrics;
2989 args[0] = CUR.metrics.pointSize;
5309 if ( CUR.metrics.x_scale == CUR.metrics.y_scale )
5313 D = FT_MulFix( D, CUR.metrics.x_scale );
5320 vec.x = FT_MulFix( vec1->x - vec2->x, CUR.metrics.x_scale );
5321 vec.y = FT_MulFix( vec1->y - vec2->y, CUR.metrics.y_scale );
6447 if ( CUR.metrics.x_scale == CUR.metrics
[all...]
H A Dttinterp.h181 FT_Size_Metrics metrics; member in struct:TT_ExecContextRec_
182 TT_Size_Metrics tt_metrics; /* size metrics */
H A Dttobjs.c783 FT_Size_Metrics* metrics = &exec->metrics; local
787 metrics->x_ppem = 0;
788 metrics->y_ppem = 0;
789 metrics->x_scale = 0;
790 metrics->y_scale = 0;
997 /* Set default metrics */
999 TT_Size_Metrics* metrics = &size->ttmetrics; local
1002 metrics->rotated = FALSE;
1003 metrics
1186 FT_Size_Metrics* metrics; local
[all...]
H A Dttobjs.h294 /* we have our own copy of metrics so that we can modify */
296 FT_Size_Metrics metrics; member in struct:TT_SizeRec_
H A Dttsubpix.c908 int ppem = loader->size->metrics.x_ppem;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
H A Dt1gload.c99 /* Incremental fonts can optionally override the metrics. */
102 FT_Incremental_MetricsRec metrics; local
105 metrics.bearing_x = FIXED_TO_INT( decoder->builder.left_bearing.x );
106 metrics.bearing_y = 0;
107 metrics.advance = FIXED_TO_INT( decoder->builder.advance.x );
108 metrics.advance_v = FIXED_TO_INT( decoder->builder.advance.y );
111 glyph_index, FALSE, &metrics );
113 decoder->builder.left_bearing.x = INT_TO_FIXED( metrics.bearing_x );
114 decoder->builder.advance.x = INT_TO_FIXED( metrics.advance );
115 decoder->builder.advance.y = INT_TO_FIXED( metrics
395 FT_Glyph_Metrics* metrics = &t1glyph->metrics; local
[all...]
H A Dt1objs.c130 size->root.metrics.x_scale,
131 size->root.metrics.y_scale,
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_font.cpp247 int pixel_size_x = ((FXFT_Face)m_Face)->size->metrics.x_ppem,
248 pixel_size_y = ((FXFT_Face)m_Face)->size->metrics.y_ppem;
/external/opencv/cv/src/
H A Dcvdistransform.cpp68 int step, float* dist, int dststep, CvSize size, const float* metrics )
72 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT );
73 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT );
140 int step, float* dist, int dststep, CvSize size, const float* metrics )
144 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT );
145 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT );
146 const int LONG_DIST = CV_FLT_TO_FIX( metrics[2], ICV_DIST_SHIFT );
230 CvSize size, const float* metrics )
235 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT );
236 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[
[all...]
/external/mesa3d/include/GL/
H A Dglext.h12602 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
12603 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
12652 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
12653 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
/external/llvm/utils/lit/lit/
H A DTest.py87 # The metrics reported by this test.
88 self.metrics = {}
95 values. It is an error to attempt to attach the metrics with the same
100 if name in self.metrics:
101 raise ValueError("result already includes metrics for %r" % (
105 self.metrics[name] = value
H A Dmain.py64 # Report test metrics, if present.
65 if test.result.metrics:
68 items = sorted(test.result.metrics.items())
99 # Add test metrics, if present.
100 if test.result.metrics:
101 test_data['metrics'] = metrics_data = {}
102 for key, value in test.result.metrics.items():
/external/lldb/examples/summaries/cocoa/
H A DCFArray.py13 import lldb.formatters.metrics namespace
16 statistics = lldb.formatters.metrics.Metrics()

Completed in 7418 milliseconds

1234567891011>>