OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:text_rect
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/ui/gfx/
pango_util.cc
169
Rect
text_rect
(bounds.x(), bounds.y(), width, height);
170
// Vertically center |
text_rect
| in |bounds|.
171
text_rect
+= gfx::Vector2d(0, (bounds.height() -
text_rect
.height()) / 2);
173
DrawPangoLayout(cr, layout, font, bounds,
text_rect
,
311
const gfx::Rect&
text_rect
,
328
text_rect
.width() <= bounds.width()) {
332
int fade_width = static_cast<double>(
text_rect
.height()) * kFadeWidthFactor;
346
cairo_move_to(cr,
text_rect
.x(),
text_rect
.y())
[
all
...]
pango_util.h
93
const gfx::Rect&
text_rect
,
104
const Rect&
text_rect
);
render_text.cc
69
void AddFadeEffect(const Rect&
text_rect
,
75
const SkScalar left = static_cast<SkScalar>(fade_rect.x() -
text_rect
.x());
77
const SkScalar p0 = left /
text_rect
.width();
78
const SkScalar p1 = (left + width) /
text_rect
.width();
92
skia::RefPtr<SkShader> CreateFadeShader(const Rect&
text_rect
,
102
AddFadeEffect(
text_rect
, left_part, fade_color, color,
105
AddFadeEffect(
text_rect
, right_part, color, fade_color,
116
points[0].iset(
text_rect
.x(),
text_rect
.y());
117
points[1].iset(
text_rect
.right(), text_rect.y())
916
Rect
text_rect
= display_rect();
local
[
all
...]
Completed in 199 milliseconds