diff options
Diffstat (limited to 'chromium/third_party/skia/include/gpu/GrBitmapTextContext.h')
-rwxr-xr-x | chromium/third_party/skia/include/gpu/GrBitmapTextContext.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/chromium/third_party/skia/include/gpu/GrBitmapTextContext.h b/chromium/third_party/skia/include/gpu/GrBitmapTextContext.h deleted file mode 100755 index e0900ecd7d6..00000000000 --- a/chromium/third_party/skia/include/gpu/GrBitmapTextContext.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2013 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef GrBitmapTextContext_DEFINED -#define GrBitmapTextContext_DEFINED - -#include "GrTextContext.h" - -class GrTextStrike; - -/* - * This class implements GrTextContext using standard bitmap fonts - */ -class GrBitmapTextContext : public GrTextContext { -public: - GrBitmapTextContext(GrContext*, const GrPaint&, SkColor); - virtual ~GrBitmapTextContext(); - - virtual void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, - GrFontScaler*) SK_OVERRIDE; - -private: - GrContext::AutoMatrix fAutoMatrix; - GrTextStrike* fStrike; - - void flushGlyphs(); // automatically called by destructor - - enum { - kMinRequestedGlyphs = 1, - kDefaultRequestedGlyphs = 64, - kMinRequestedVerts = kMinRequestedGlyphs * 4, - kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4, - }; - - SkColor fSkPaintColor; - SkPoint* fVertices; - int32_t fMaxVertices; - GrTexture* fCurrTexture; - int fCurrVertex; -}; - -#endif |