OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TextShadow
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/hwui/utils/
PaintUtils.h
68
struct
TextShadow
{
75
static inline bool getTextShadow(const SkPaint* paint,
TextShadow
*
textShadow
) {
78
if (
textShadow
) {
79
textShadow
->radius = Blur::convertSigmaToRadius(blur.fSigma);
80
textShadow
->dx = blur.fOffset.fX;
81
textShadow
->dy = blur.fOffset.fY;
82
textShadow
->color = blur.fColor;
/frameworks/base/libs/hwui/
BakedOpDispatcher.cpp
196
PaintUtils::
TextShadow
textShadow
;
197
if (!PaintUtils::getTextShadow(op.paint, &
textShadow
)) {
203
op.paint, op.glyphs, op.glyphCount,
textShadow
.radius, op.positions);
209
const float sx = op.x - texture->left +
textShadow
.dx;
210
const float sy = op.y - texture->top +
textShadow
.dy;
216
.setFillShadowTexturePaint(*texture,
textShadow
.color, *op.paint, textOpState.alpha)
230
shadowBounds.translate(
textShadow
.dx,
textShadow
.dy);
231
shadowBounds.outset(
textShadow
.radius, textShadow.radius)
[
all
...]
Completed in 401 milliseconds