/external/skia/tests/ |
D | PaintTest.cpp | 47 static SkTypeface::Encoding paint2encoding(const SkPaint& paint) { in paint2encoding() 48 SkPaint::TextEncoding enc = paint.getTextEncoding(); in paint2encoding() 49 SkASSERT(SkPaint::kGlyphID_TextEncoding != enc); in paint2encoding() 74 SkPaint::TextEncoding fEncoding; in DEF_TEST() 76 { uni_to_utf8, SkPaint::kUTF8_TextEncoding }, in DEF_TEST() 77 { uni_to_utf16, SkPaint::kUTF16_TextEncoding }, in DEF_TEST() 78 { uni_to_utf32, SkPaint::kUTF32_TextEncoding }, in DEF_TEST() 82 SkPaint paint; in DEF_TEST() 120 SkPaint p0, p1; in DEF_TEST() 123 SkPaint::kNone_FilterLevel == p0.getFilterLevel()); in DEF_TEST() [all …]
|
D | FontObjTest.cpp | 13 static bool is_use_nonlinear_metrics(const SkPaint& paint) { in is_use_nonlinear_metrics() 17 static bool is_enable_auto_hints(const SkPaint& paint) { in is_enable_auto_hints() 21 static bool is_enable_bytecode_hints(const SkPaint& paint) { in is_enable_bytecode_hints() 22 return paint.getHinting() >= SkPaint::kFull_Hinting; in is_enable_bytecode_hints() 25 static void test_cachedfont(skiatest::Reporter* reporter, const SkPaint& paint) { in test_cachedfont() 52 SkPaint::Hinting hinting; in test_cachedfont() 55 { SkPaint::kNo_Hinting, 0 }, in test_cachedfont() 56 { SkPaint::kNo_Hinting, SkPaint::kLinearText_Flag }, in test_cachedfont() 57 { SkPaint::kNo_Hinting, SkPaint::kSubpixelText_Flag }, in test_cachedfont() 58 { SkPaint::kSlight_Hinting, 0 }, in test_cachedfont() [all …]
|
/external/chromium_org/third_party/skia/tests/ |
D | PaintTest.cpp | 47 static SkTypeface::Encoding paint2encoding(const SkPaint& paint) { in paint2encoding() 48 SkPaint::TextEncoding enc = paint.getTextEncoding(); in paint2encoding() 49 SkASSERT(SkPaint::kGlyphID_TextEncoding != enc); in paint2encoding() 74 SkPaint::TextEncoding fEncoding; in DEF_TEST() 76 { uni_to_utf8, SkPaint::kUTF8_TextEncoding }, in DEF_TEST() 77 { uni_to_utf16, SkPaint::kUTF16_TextEncoding }, in DEF_TEST() 78 { uni_to_utf32, SkPaint::kUTF32_TextEncoding }, in DEF_TEST() 82 SkPaint paint; in DEF_TEST() 120 SkPaint p0, p1; in DEF_TEST() 123 SkPaint::kNone_FilterLevel == p0.getFilterLevel()); in DEF_TEST() [all …]
|
D | FontObjTest.cpp | 13 static bool is_use_nonlinear_metrics(const SkPaint& paint) { in is_use_nonlinear_metrics() 17 static bool is_enable_auto_hints(const SkPaint& paint) { in is_enable_auto_hints() 21 static bool is_enable_bytecode_hints(const SkPaint& paint) { in is_enable_bytecode_hints() 22 return paint.getHinting() >= SkPaint::kFull_Hinting; in is_enable_bytecode_hints() 25 static void test_cachedfont(skiatest::Reporter* reporter, const SkPaint& paint) { in test_cachedfont() 52 SkPaint::Hinting hinting; in test_cachedfont() 55 { SkPaint::kNo_Hinting, 0 }, in test_cachedfont() 56 { SkPaint::kNo_Hinting, SkPaint::kLinearText_Flag }, in test_cachedfont() 57 { SkPaint::kNo_Hinting, SkPaint::kSubpixelText_Flag }, in test_cachedfont() 58 { SkPaint::kSlight_Hinting, 0 }, in test_cachedfont() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBBoxRecord.h | 34 virtual void drawOval(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 35 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRIDE; 36 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 37 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 39 const SkPaint& paint) SK_OVERRIDE; 40 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 43 const SkPaint* paint = NULL) SK_OVERRIDE; 45 const SkRect& dst, const SkPaint* paint, 48 const SkPaint* paint) SK_OVERRIDE; 50 const SkRect& dst, const SkPaint* paint) SK_OVERRIDE; [all …]
|
D | SkRecorder.h | 27 void drawPaint(const SkPaint& paint) SK_OVERRIDE; 31 const SkPaint& paint) SK_OVERRIDE; 32 void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 33 void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE; 34 void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRIDE; 35 void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 39 const SkPaint* paint = NULL) SK_OVERRIDE; 43 const SkPaint* paint = NULL, 47 const SkPaint* paint = NULL) SK_OVERRIDE; 51 const SkPaint* paint = NULL) SK_OVERRIDE; [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | LoggingCanvas.h | 45 virtual void drawPaint(const SkPaint&) OVERRIDE; 46 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) OVERRIDE; 47 virtual void drawRect(const SkRect&, const SkPaint&) OVERRIDE; 48 virtual void drawOval(const SkRect&, const SkPaint&) OVERRIDE; 49 virtual void drawRRect(const SkRRect&, const SkPaint&) OVERRIDE; 50 virtual void drawPath(const SkPath&, const SkPaint&) OVERRIDE; 51 …virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint* = 0) OVERRIDE; 52 …pRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, DrawBitmapRectF… 53 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, const SkPaint* = 0) OVERRIDE; 54 …drawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) OVERRIDE; [all …]
|
D | ProfilingCanvas.h | 45 virtual void drawPaint(const SkPaint&) OVERRIDE; 46 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) OVERRIDE; 47 virtual void drawRect(const SkRect&, const SkPaint&) OVERRIDE; 48 virtual void drawOval(const SkRect&, const SkPaint&) OVERRIDE; 49 virtual void drawRRect(const SkRRect&, const SkPaint&) OVERRIDE; 50 virtual void drawPath(const SkPath&, const SkPaint&) OVERRIDE; 51 …virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint* = 0) OVERRIDE; 52 …pRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, DrawBitmapRectF… 53 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, const SkPaint* = 0) OVERRIDE; 54 …drawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) OVERRIDE; [all …]
|
D | InterceptingCanvas.h | 44 virtual void drawPaint(const SkPaint&) OVERRIDE = 0; 45 …virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) OVERRIDE = 0; 46 virtual void drawRect(const SkRect&, const SkPaint&) OVERRIDE = 0; 47 virtual void drawOval(const SkRect&, const SkPaint&) OVERRIDE = 0; 48 virtual void drawRRect(const SkRRect&, const SkPaint&) OVERRIDE = 0; 49 virtual void drawPath(const SkPath&, const SkPaint&) OVERRIDE = 0; 50 …virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint* = 0) OVERRIDE… 51 …pRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, DrawBitmapRectF… 52 … virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, const SkPaint* = 0) OVERRIDE = 0; 53 …BitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) OVERRIDE = 0; [all …]
|
D | ReplayingCanvas.h | 47 virtual void drawPaint(const SkPaint&) OVERRIDE; 48 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) OVERRIDE; 49 virtual void drawRect(const SkRect&, const SkPaint&) OVERRIDE; 50 virtual void drawOval(const SkRect&, const SkPaint&) OVERRIDE; 51 virtual void drawRRect(const SkRRect&, const SkPaint&) OVERRIDE; 52 virtual void drawPath(const SkPath&, const SkPaint&) OVERRIDE; 53 …virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint* = 0) OVERRIDE; 54 …pRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, DrawBitmapRectF… 55 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, const SkPaint* = 0) OVERRIDE; 56 …drawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) OVERRIDE; [all …]
|
/external/chromium_org/third_party/skia/gm/ |
D | linepaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 31 SkPaint::Style style, SkPath::FillType fill, in drawPath() 34 SkPaint paint; in drawPath() 58 SkPaint::Style fStyle; in onDraw() 62 {SkPaint::kFill_Style, "Fill"}, in onDraw() 63 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 64 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 67 SkPaint::Cap fCap; in onDraw() 68 SkPaint::Join fJoin; in onDraw() 72 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw() [all …]
|
D | quadpaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 31 SkPaint::Style style, SkPath::FillType fill, in drawPath() 34 SkPaint paint; in drawPath() 58 SkPaint::Style fStyle; in onDraw() 62 {SkPaint::kFill_Style, "Fill"}, in onDraw() 63 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 64 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 67 SkPaint::Cap fCap; in onDraw() 68 SkPaint::Join fJoin; in onDraw() 72 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw() [all …]
|
D | cubicpaths.cpp | 34 SkPaint paint; in onDraw() 73 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 74 SkPaint::Style style, SkPath::FillType fill, in drawPath() 77 SkPaint paint; in drawPath() 101 SkPaint::Style fStyle; in onDraw() 105 {SkPaint::kFill_Style, "Fill"}, in onDraw() 106 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 107 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 110 SkPaint::Cap fCap; in onDraw() 111 SkPaint::Join fJoin; in onDraw() [all …]
|
D | bleed.cpp | 110 SkCanvas::DrawBitmapRectFlags flags, SkPaint::FilterLevel filter) { in drawCase1() 116 SkPaint paint; in drawCase1() 127 SkCanvas::DrawBitmapRectFlags flags, SkPaint::FilterLevel filter) { in drawCase2() 133 SkPaint paint; in drawCase2() 144 SkCanvas::DrawBitmapRectFlags flags, SkPaint::FilterLevel filter) { in drawCase3() 150 SkPaint paint; in drawCase3() 161 SkCanvas::DrawBitmapRectFlags flags, SkPaint::FilterLevel filter) { in drawCase4() 167 SkPaint paint; in drawCase4() 195 …this->drawCase1(canvas, kCol0X, kRow0Y, SkCanvas::kNone_DrawBitmapRectFlag, SkPaint::kNone_FilterL… in onDraw() 196 …this->drawCase2(canvas, kCol0X, kRow1Y, SkCanvas::kNone_DrawBitmapRectFlag, SkPaint::kNone_FilterL… in onDraw() [all …]
|
/external/skia/gm/ |
D | linepaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 31 SkPaint::Style style, SkPath::FillType fill, in drawPath() 34 SkPaint paint; in drawPath() 58 SkPaint::Style fStyle; in onDraw() 62 {SkPaint::kFill_Style, "Fill"}, in onDraw() 63 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 64 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 67 SkPaint::Cap fCap; in onDraw() 68 SkPaint::Join fJoin; in onDraw() 72 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw() [all …]
|
D | quadpaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 31 SkPaint::Style style, SkPath::FillType fill, in drawPath() 34 SkPaint paint; in drawPath() 58 SkPaint::Style fStyle; in onDraw() 62 {SkPaint::kFill_Style, "Fill"}, in onDraw() 63 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 64 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 67 SkPaint::Cap fCap; in onDraw() 68 SkPaint::Join fJoin; in onDraw() 72 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw() [all …]
|
D | cubicpaths.cpp | 34 SkPaint paint; in onDraw() 73 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 74 SkPaint::Style style, SkPath::FillType fill, in drawPath() 77 SkPaint paint; in drawPath() 101 SkPaint::Style fStyle; in onDraw() 105 {SkPaint::kFill_Style, "Fill"}, in onDraw() 106 {SkPaint::kStroke_Style, "Stroke"}, in onDraw() 107 {SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, in onDraw() 110 SkPaint::Cap fCap; in onDraw() 111 SkPaint::Join fJoin; in onDraw() [all …]
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkDraw.h | 34 void drawPaint(const SkPaint&) const; 36 const SkPaint&, bool forceUseDevice = false) const; 37 void drawRect(const SkRect&, const SkPaint&) const; 38 void drawRRect(const SkRRect&, const SkPaint&) const; 48 void drawPath(const SkPath& path, const SkPaint& paint, in drawPath() 53 void drawPath(const SkPath& path, const SkPaint& paint, 58 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const; 59 void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) const; 61 SkScalar y, const SkPaint& paint) const; 64 int scalarsPerPosition, const SkPaint& paint) const; [all …]
|
/external/skia/include/core/ |
D | SkDraw.h | 33 void drawPaint(const SkPaint&) const; 35 const SkPaint&, bool forceUseDevice = false) const; 36 void drawRect(const SkRect&, const SkPaint&) const; 37 void drawRRect(const SkRRect&, const SkPaint&) const; 47 void drawPath(const SkPath& path, const SkPaint& paint, in drawPath() 52 void drawPath(const SkPath& path, const SkPaint& paint) const { in drawPath() 56 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const; 57 void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) const; 59 SkScalar y, const SkPaint& paint) const; 62 int scalarsPerPosition, const SkPaint& paint) const; [all …]
|
/external/skia/src/core/ |
D | SkBBoxRecord.h | 33 virtual void drawOval(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 34 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRIDE; 35 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 36 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 38 const SkPaint& paint) SK_OVERRIDE; 39 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 42 const SkPaint* paint = NULL) SK_OVERRIDE; 44 const SkRect& dst, const SkPaint* paint, 47 const SkPaint* paint) SK_OVERRIDE; 49 const SkRect& dst, const SkPaint* paint) SK_OVERRIDE; [all …]
|
/external/chromium_org/third_party/skia/include/utils/ |
D | SkLuaCanvas.h | 23 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 25 const SkPaint& paint) SK_OVERRIDE; 26 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 27 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 28 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 29 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 31 const SkPaint* paint) SK_OVERRIDE; 33 const SkRect& dst, const SkPaint* paint, 36 const SkPaint* paint) SK_OVERRIDE; 38 const SkPaint* paint) SK_OVERRIDE; [all …]
|
D | SkNWayCanvas.h | 27 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 29 const SkPaint&) SK_OVERRIDE; 30 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; 31 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; 32 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; 33 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; 35 const SkPaint*) SK_OVERRIDE; 37 const SkRect& dst, const SkPaint* paint, 40 const SkPaint*) SK_OVERRIDE; 43 const SkPaint* paint = NULL) SK_OVERRIDE; [all …]
|
D | SkDumpCanvas.h | 67 const SkPaint*) = 0; 78 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 80 const SkPaint& paint) SK_OVERRIDE; 81 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 82 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 83 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 84 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 86 const SkPaint* paint) SK_OVERRIDE; 88 const SkRect& dst, const SkPaint* paint, 91 const SkPaint* paint) SK_OVERRIDE; [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | FontPlatformDataWin.cpp | 47 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context) const in setupPaint() 57 static const uint32_t textFlagsMask = SkPaint::kAntiAlias_Flag | in setupPaint() 58 SkPaint::kLCDRenderText_Flag | in setupPaint() 59 SkPaint::kGenA8FromLCD_Flag; in setupPaint() 63 flags |= SkPaint::kEmbeddedBitmapText_Flag; in setupPaint() 79 && ((textFlags & SkPaint::kAntiAlias_Flag) in setupPaint() 81 flags |= SkPaint::kSubpixelText_Flag; in setupPaint() 85 textFlags &= ~SkPaint::kLCDRenderText_Flag; in setupPaint() 91 textFlags |= SkPaint::kGenA8FromLCD_Flag; in setupPaint() 112 gFlags |= SkPaint::kAntiAlias_Flag; in getSystemTextFlags() [all …]
|
/external/chromium_org/skia/ext/ |
D | analysis_canvas.h | 34 virtual void drawPaint(const SkPaint& paint) OVERRIDE; 38 const SkPaint&) OVERRIDE; 39 virtual void drawOval(const SkRect&, const SkPaint&) OVERRIDE; 40 virtual void drawRect(const SkRect&, const SkPaint&) OVERRIDE; 41 virtual void drawRRect(const SkRRect&, const SkPaint&) OVERRIDE; 42 virtual void drawPath(const SkPath& path, const SkPaint&) OVERRIDE; 46 const SkPaint* paint = NULL) OVERRIDE; 50 const SkPaint* paint, 54 const SkPaint* paint = NULL) OVERRIDE; 58 const SkPaint* paint = NULL) OVERRIDE; [all …]
|