Remove SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX.

This define was added with "Always round text position correctly."
9447103029 . The affected clients
have been rebaselined and this is no longer defined anywhere.

Review URL: https://codereview.chromium.org/722333002
This commit is contained in:
bungeman 2014-11-13 13:06:27 -08:00 committed by Commit bot
parent a918cd9fb7
commit bc97c9378b
2 changed files with 0 additions and 8 deletions

View File

@ -1752,14 +1752,10 @@ void SkDraw::drawPosText(const char text[], size_t byteLength,
SkFixed fyMask = ~0;
if (kX_SkAxisAlignment == baseline) {
fyMask = 0;
#ifndef SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX
d1g.fHalfSampleY = SK_FixedHalf;
#endif
} else if (kY_SkAxisAlignment == baseline) {
fxMask = 0;
#ifndef SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX
d1g.fHalfSampleX = SK_FixedHalf;
#endif
}
if (SkPaint::kLeft_Align == paint.getTextAlign()) {

View File

@ -239,14 +239,10 @@ void GrBitmapTextContext::onDrawPosText(const GrPaint& paint, const SkPaint& skP
SkFixed fyMask = ~0;
if (kX_SkAxisAlignment == baseline) {
fyMask = 0;
#ifndef SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX
halfSampleY = SK_FixedHalf;
#endif
} else if (kY_SkAxisAlignment == baseline) {
fxMask = 0;
#ifndef SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX
halfSampleX = SK_FixedHalf;
#endif
}
if (SkPaint::kLeft_Align == fSkPaint.getTextAlign()) {