Searched refs:baseline (Results 1 - 25 of 37) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsTypes.cpp152 String textBaselineName(TextBaseline baseline)
154 ASSERT(baseline >= 0);
155 ASSERT(baseline < 6);
157 return names[baseline];
160 bool parseTextBaseline(const String& s, TextBaseline& baseline)
163 baseline = AlphabeticTextBaseline;
167 baseline = TopTextBaseline;
171 baseline = MiddleTextBaseline;
175 baseline = BottomTextBaseline;
179 baseline
[all...]
/external/webkit/Source/WebCore/css/
H A DSVGCSSPropertyNames.in41 alignment-baseline
42 baseline-shift
43 dominant-baseline
H A Dview-source.css42 vertical-align: baseline
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_instructions_view.cc44 int baseline = view->GetBaseline(); local
45 if (baseline != -1) {
46 ascent = std::max(ascent, baseline);
47 descent = std::max(descent, pref.height() - baseline);
65 int baseline = view->GetBaseline(); local
67 if (baseline != -1 && baseline_ != -1)
68 y = baseline_ - baseline;
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGTextLayoutEngineBaseline.cpp71 EDominantBaseline baseline = style->dominantBaseline(); local
72 if (baseline == DB_AUTO) {
74 baseline = DB_CENTRAL;
76 baseline = DB_ALPHABETIC;
79 switch (baseline) {
81 // FIXME: The dominant-baseline and the baseline-table components are set by determining the predominant script of the character data content.
119 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline(); local
120 if (baseline == AB_AUTO) {
121 baseline
[all...]
H A DRenderSVGInlineText.cpp176 float baseline = m_scaledFont.fontMetrics().floatAscent(); local
201 FloatRect fragmentRect(fragment.x, fragment.y - baseline, fragment.width, fragment.height);
H A DSVGInlineTextBox.cpp721 float baseline = textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor; local
727 FloatRect fragmentRect(fragment.x, fragment.y - baseline, fragment.width, fragment.height);
/external/quake/quake/src/QW/server/
H A Dsv_init.c78 baseline will be transmitted
98 // create entity baseline
100 VectorCopy (svent->v.origin, svent->baseline.origin);
101 VectorCopy (svent->v.angles, svent->baseline.angles);
102 svent->baseline.frame = svent->v.frame;
103 svent->baseline.skinnum = svent->v.skin;
106 svent->baseline.colormap = entnum;
107 svent->baseline.modelindex = SV_ModelIndex("progs/player.mdl");
111 svent->baseline.colormap = 0;
112 svent->baseline
[all...]
H A Dprogs.h43 entity_state_t baseline; member in struct:edict_s
/external/quake/quake/src/WinQuake/
H A Dcl_parse.cpp377 modnum = ent->baseline.modelindex;
403 ent->frame = ent->baseline.frame;
408 i = ent->baseline.colormap;
422 skin = ent->baseline.skin;
434 ent->skinnum = ent->baseline.skin;
440 ent->effects = ent->baseline.effects;
449 ent->msg_origins[0][0] = ent->baseline.origin[0];
453 ent->msg_angles[0][0] = ent->baseline.angles[0];
458 ent->msg_origins[0][1] = ent->baseline.origin[1];
462 ent->msg_angles[0][1] = ent->baseline
[all...]
H A Dsv_main.cpp476 miss = ent->u.v.origin[i] - ent->baseline.origin[i];
481 if ( ent->u.v.angles[0] != ent->baseline.angles[0] )
484 if ( ent->u.v.angles[1] != ent->baseline.angles[1] )
487 if ( ent->u.v.angles[2] != ent->baseline.angles[2] )
493 if (ent->baseline.colormap != ent->u.v.colormap)
496 if (ent->baseline.skin != ent->u.v.skin)
499 if (ent->baseline.frame != ent->u.v.frame)
502 if (ent->baseline.effects != ent->u.v.effects)
505 if (ent->baseline.modelindex != ent->u.v.modelindex)
941 // create entity baseline
[all...]
H A Drender.h45 entity_state_t baseline; // to fill in defaults in updates member in struct:entity_s
H A Dprogs.h43 entity_state_t baseline; member in struct:edict_s
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLUnderOver.cpp152 // We need to calculate the baseline over the over versus the start of the base and
177 // We need to calculate the baseline of the base versus the start of the under block and
190 // the line boxes and the baseline and squeeze them together
203 // We need to calculate the baseline of the over versus the start of the base and
221 // We need to calculate the baseline of the base versus the start of the under block and
231 // the line boxes and the baseline and squeeze them together
252 int baseline = 0; local
256 baseline += getOffsetHeight(current);
263 baseline += toRenderBoxModelObject(base)->baselinePosition(AlphabeticBaseline, firstLine, HorizontalLine, linePositionMode);
265 baseline
[all...]
H A DRenderMathMLBlock.cpp105 int baseline = baselinePosition(AlphabeticBaseline, true, HorizontalLine); local
109 info.context->drawLine(IntPoint(tx, ty + baseline), IntPoint(tx + offsetWidth(), ty + baseline));
H A DRenderMathMLSubSup.cpp181 int baseline = offsetHeight(); local
183 return baseline;
194 // The baseline is top spacing of the base + the baseline of the base + adjusted space for zoom
202 baseline = box->baselinePosition(AlphabeticBaseline, firstLine, direction, linePositionMode);
206 return baseline;
/external/webkit/Tools/DumpRenderTree/chromium/
H A DImageDiff.cpp155 float percentageDifferent(const Image& baseline, const Image& actual) argument
157 int w = min(baseline.width(), actual.width());
158 int h = min(baseline.height(), actual.height());
164 if (baseline.pixelAt(x, y) != actual.pixelAt(x, y))
170 int maxWidth = max(baseline.width(), actual.width());
171 int maxHeight = max(baseline.height(), actual.height());
263 fputs("Error, baseline image can't be decoded.\n", stderr);
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
H A Dfontprops.cpp163 int baseline = pango_layout_iter_get_baseline(iter);
165 *descent = h - PANGO_PIXELS(baseline);
/external/webkit/Source/WebCore/rendering/
H A DRenderTableSection.h81 int baseline; member in struct:WebCore::RenderTableSection::RowStruct
119 int getBaseline(int row) { return m_grid[row].baseline; }
H A DRenderTableSection.cpp175 m_grid[r].baseline = 0;
352 m_grid[r].baseline = 0;
353 int baseline = 0; local
401 // find out the baseline
406 baseline = max(baseline, b - cell->intrinsicPaddingBefore());
412 // do we have baseline aligned elements?
413 if (baseline) {
414 // increase rowheight if baseline requires
415 m_rowPos[r + 1] = max(m_rowPos[r + 1], baseline
[all...]
H A DInlineTextBox.cpp902 int baseline = styleToUse->fontMetrics().ascent(); local
908 FloatRect clipRect(localOrigin, FloatSize(width, baseline + 2));
910 FloatRect shadowRect(localOrigin, FloatSize(width, baseline + 2));
920 extraOffset += baseline + 2;
945 // Leave one pixel of white between the baseline and the underline.
946 context->drawLineForText(FloatPoint(localOrigin.x(), localOrigin.y() + baseline + 1), width, isPrinting);
956 context->drawLineForText(FloatPoint(localOrigin.x(), localOrigin.y() + 2 * baseline / 3), width, isPrinting);
1034 // we pin to two pixels under the baseline.
1036 int baseline = renderer()->style(m_firstLine)->fontMetrics().ascent(); local
1037 int descent = logicalHeight() - baseline;
1189 int baseline = renderer()->style(m_firstLine)->fontMetrics().ascent(); local
[all...]
/external/webkit/Tools/Scripts/
H A Drun-sunspider57 --set-baseline Set baseline for future comparisons
73 'set-baseline' => \$setBaseline,
124 push @args, "--set-baseline" if $setBaseline;
/external/webkit/Source/WebKit/android/nav/
H A DFindCanvas.cpp181 SkScalar baseline = y; local
182 rect.fTop = baseline + fontMetrics.fAscent;
183 rect.fBottom = baseline + fontMetrics.fDescent;
212 SkScalar baseline = points[j].fY; local
213 bounds.fTop = baseline + fontMetrics.fAscent;
214 bounds.fBottom = baseline + fontMetrics.fDescent;
/external/webkit/PerformanceTests/SunSpider/
H A Dsunspider53 --set-baseline Set baseline for future comparisons
68 'set-baseline' => \$setBaseline,
231 dumpToFile(File::Spec->rel2abs($resultsFile), "$resultDirectory/baseline-filename.txt") if $setBaseline;
/external/srec/config/en.us/
H A DAndroid.mk8 baseline.par \

Completed in 2574 milliseconds

12