| Index: include/core/SkSurface.h
|
| diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
|
| index 74c54e8d687b6cb985f1442c5f6be8881b06913f..019bf216ce40b3c017405ecfad58452b23458a17 100644
|
| --- a/include/core/SkSurface.h
|
| +++ b/include/core/SkSurface.h
|
| @@ -109,27 +109,6 @@ public:
|
| return NewScratchRenderTarget(gr, info, 0, NULL);
|
| }
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_TEXTRENDERMODE
|
| - /**
|
| - * Text rendering modes that can be passed to NewRenderTarget*
|
| - */
|
| - enum TextRenderMode {
|
| - /**
|
| - * This will use the standard text rendering method
|
| - */
|
| - kStandard_TextRenderMode,
|
| - /**
|
| - * This will use signed distance fields for text rendering when possible
|
| - */
|
| - kDistanceField_TextRenderMode,
|
| - };
|
| - static SkSurface* NewRenderTargetDirect(GrRenderTarget*, TextRenderMode);
|
| - static SkSurface* NewRenderTarget(GrContext*, const SkImageInfo&, int sampleCount,
|
| - TextRenderMode);
|
| - static SkSurface* NewScratchRenderTarget(GrContext*, const SkImageInfo&, int sampleCount,
|
| - TextRenderMode);
|
| -#endif
|
| -
|
| int width() const { return fWidth; }
|
| int height() const { return fHeight; }
|
|
|
|
|