Remove SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX.
https://codereview.appspot.com/7070073/ git-svn-id: http://skia.googlecode.com/svn/trunk@7159 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7af56bee17
commit
7f5350346a
@ -1882,13 +1882,9 @@ void SkDraw::drawPosText(const char text[], size_t byteLength,
|
||||
|
||||
tmsProc(tms, pos);
|
||||
|
||||
#ifdef SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX
|
||||
SkFixed fx = SkScalarToFixed(tms.fLoc.fX);
|
||||
SkFixed fy = SkScalarToFixed(tms.fLoc.fY);
|
||||
#else
|
||||
SkFixed fx = SkScalarToFixed(tms.fLoc.fX) + (SK_FixedHalf >> SkGlyph::kSubBits);
|
||||
SkFixed fy = SkScalarToFixed(tms.fLoc.fY) + (SK_FixedHalf >> SkGlyph::kSubBits);
|
||||
#endif
|
||||
|
||||
SkFixed fxMask = ~0;
|
||||
SkFixed fyMask = ~0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user