/external/skia/gm/ |
tilemodes_scaled.cpp | 31 SkPaint paint; 46 static void setup(SkPaint* paint, const SkBitmap& bm, SkPaint::FilterLevel filter_level, 102 static const SkPaint::FilterLevel gFilterLevels[] = 103 { SkPaint::kNone_FilterLevel, 104 SkPaint::kLow_FilterLevel, 105 SkPaint::kMedium_FilterLevel, 106 SkPaint::kHigh_FilterLevel }; 117 SkPaint p; 124 p.setTextAlign(SkPaint::kCenter_Align) [all...] |
xfermodes3.cpp | 39 SkPaint bgPaint; 47 SkPaint labelP; 65 static const struct { SkPaint::Style fStyle; SkScalar fWidth; } kStrokes[] = { 66 {SkPaint::kFill_Style, 0}, 67 {SkPaint::kStroke_Style, SkIntToScalar(kSize) / 2}, 78 SkPaint modePaint; 94 SkPaint modePaint; 146 const SkPaint& modePaint, SkCanvas* layerCanvas) { 161 SkPaint bgPaint; 176 SkPaint borderPaint [all...] |
thinrects.cpp | 30 SkPaint white; 34 SkPaint green; 67 static void DrawVertRects(SkCanvas* canvas, const SkPaint& p) { 83 static void DrawHorizRects(SkCanvas* canvas, const SkPaint& p) { 99 static void DrawSquares(SkCanvas* canvas, const SkPaint& p) {
|
ovals.cpp | 40 SkPaint p; 46 SkPaint p; 53 SkPaint p; 55 p.setStyle(SkPaint::kStroke_Style); 62 SkPaint p; 64 p.setStyle(SkPaint::kStroke_Style); 70 SkPaint p; 72 p.setStyle(SkPaint::kStrokeAndFill_Style); 148 SkPaint rectPaint; 150 rectPaint.setStyle(SkPaint::kStroke_Style) [all...] |
pathopsinverse.cpp | 34 fOutlinePaint.setStyle(SkPaint::kStroke_Style); 48 void makePaint(SkPaint* paint, SkColor color) { 50 paint->setStyle(SkPaint::kFill_Style); 103 SkPaint fOnePaint; 104 SkPaint fTwoPaint; 105 SkPaint fOutlinePaint; 106 SkPaint fOpPaint[kReverseDifference_PathOp - kDifference_PathOp + 1];
|
shadertext3.cpp | 28 SkPaint paint; 75 SkPaint bmpPaint; 77 bmpPaint.setFilterLevel(SkPaint::kLow_FilterLevel); 81 SkPaint outlinePaint; 84 outlinePaint.setStyle(SkPaint::kStroke_Style); 113 SkPaint fillPaint; 116 fillPaint.setFilterLevel(SkPaint::kLow_FilterLevel);
|
techtalk1.cpp | 46 static void setFade(SkPaint* paint, bool showGL) { 50 static void setGLFrame(SkPaint* paint) { 52 paint->setStyle(SkPaint::kStroke_Style); 58 SkPaint paint; 66 const SkPaint& paint) { 72 SkPaint paint; 83 SkPaint paint; 111 SkPaint paint; 128 SkPaint paint; 147 SkPaint paint [all...] |
imagefiltersbase.cpp | 70 SkPaint paint; 80 SkPaint paint; 88 SkPaint paint; 97 SkPaint paint; 105 SkPaint paint; 110 paint.setTextAlign(SkPaint::kCenter_Align); 115 SkPaint paint; 132 SkPaint paint; 167 SkPaint paint; 168 paint.setStyle(SkPaint::kStroke_Style) [all...] |
aaclip.cpp | 17 SkPaint paint; 20 paint.setStyle(SkPaint::kStroke_Style); 32 static void draw_conic(SkCanvas* canvas, SkScalar weight, const SkPaint& paint) { 40 SkPaint paint; 42 paint.setStyle(SkPaint::kStroke_Style); 74 SkPaint paint; 81 SkPaint paint; 120 SkPaint p; 166 static void drawRectAsPath(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { 176 SkPaint paint [all...] |
/external/skia/src/core/ |
SkAnnotation.cpp | 57 static void annotate_paint(SkPaint& paint, const char* key, SkData* value) { 65 SkPaint paint; 74 SkPaint paint; 83 SkPaint paint;
|
SkBitmapDevice.cpp | 196 SkPaint paint; 209 void SkBitmapDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) { 214 const SkPoint pts[], const SkPaint& paint) { 219 void SkBitmapDevice::drawRect(const SkDraw& draw, const SkRect& r, const SkPaint& paint) { 224 void SkBitmapDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) { 234 void SkBitmapDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect, const SkPaint& paint) { 250 const SkPaint& paint, const SkMatrix* prePathMatrix, 257 const SkMatrix& matrix, const SkPaint& paint) { 263 const SkPaint& paint, 339 SkPaint paintWithShader(paint) [all...] |
SkScalerContext.h | 14 #include "SkPaint.h" 86 // SkPaint::MakeRec. 92 inline SkPaint::Hinting getHinting() const; 93 inline void setHinting(SkPaint::Hinting); 129 // up with the SkPaint::Hinting enum. 185 void getFontMetrics(SkPaint::FontMetrics*); 195 static inline void MakeRec(const SkPaint&, const SkDeviceProperties* deviceProperties, 197 static inline void PostMakeRec(const SkPaint&, Rec*); 240 virtual void generateFontMetrics(SkPaint::FontMetrics* mX, 241 SkPaint::FontMetrics* mY) = 0 [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
rounded_rect_painter.cc | 39 SkPaint paint; 40 paint.setStyle(SkPaint::kFill_Style); 41 paint.setFlags(SkPaint::kAntiAlias_Flag); 66 paint.setStyle(SkPaint::kStroke_Style); 83 SkPaint paint; 84 paint.setFlags(SkPaint::kAntiAlias_Flag); 85 paint.setStyle(SkPaint::kFill_Style); 113 SkPaint paint; 206 SkPaint paint; 207 paint.setStyle(SkPaint::kFill_Style) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapDevice.cpp | 196 SkPaint paint; 209 void SkBitmapDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) { 214 const SkPoint pts[], const SkPaint& paint) { 219 void SkBitmapDevice::drawRect(const SkDraw& draw, const SkRect& r, const SkPaint& paint) { 224 void SkBitmapDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) { 234 void SkBitmapDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect, const SkPaint& paint) { 250 const SkPaint& paint, const SkMatrix* prePathMatrix, 257 const SkMatrix& matrix, const SkPaint& paint) { 263 const SkPaint& paint, 339 SkPaint paintWithShader(paint) [all...] |
SkScalerContext.h | 14 #include "SkPaint.h" 86 // SkPaint::MakeRec. 92 inline SkPaint::Hinting getHinting() const; 93 inline void setHinting(SkPaint::Hinting); 129 // up with the SkPaint::Hinting enum. 185 void getFontMetrics(SkPaint::FontMetrics*); 195 static inline void MakeRec(const SkPaint&, const SkDeviceProperties* deviceProperties, 197 static inline void PostMakeRec(const SkPaint&, Rec*); 240 virtual void generateFontMetrics(SkPaint::FontMetrics* mX, 241 SkPaint::FontMetrics* mY) = 0 [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
SimpleFontDataSkia.cpp | 35 #include "SkPaint.h" 62 SkPaint paint; 63 SkPaint::FontMetrics metrics; 189 SkPaint paint; 194 paint.setTextEncoding(SkPaint::kUTF16_TextEncoding); 218 static inline void getSkiaBoundsForGlyph(SkPaint& paint, Glyph glyph, SkRect& bounds) 220 paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); 246 SkPaint paint; 261 SkPaint paint; 265 paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkLua.cpp | 14 #include "SkPaint.h" 40 DEF_MTNAME(SkPaint) 222 void SkLua::pushPaint(const SkPaint& paint, const char key[]) { 311 *get_obj<SkPaint>(L, 3)); 318 *get_obj<SkPaint>(L, 3)); 326 *get_obj<SkPaint>(L, 5)); 339 SkPaint paint; 340 const SkPaint* paintPtr = NULL; 351 *get_obj<SkPaint>(L, 3)); 365 *get_obj<SkPaint>(L, 5)) [all...] |
/external/skia/src/utils/ |
SkLua.cpp | 14 #include "SkPaint.h" 40 DEF_MTNAME(SkPaint) 222 void SkLua::pushPaint(const SkPaint& paint, const char key[]) { 311 *get_obj<SkPaint>(L, 3)); 318 *get_obj<SkPaint>(L, 3)); 326 *get_obj<SkPaint>(L, 5)); 339 SkPaint paint; 340 const SkPaint* paintPtr = NULL; 351 *get_obj<SkPaint>(L, 3)); 365 *get_obj<SkPaint>(L, 5)) [all...] |
/external/skia/tests/ |
DrawPathTest.cpp | 54 SkPaint paint; 119 SkPaint paint; 136 SkPaint paint; 154 SkPaint paint; 194 SkPaint paint; 243 SkPaint paint; 260 SkPaint paint; 280 SkPaint paint; 281 paint.setStyle(SkPaint::kStroke_Style); 299 SkPaint paint [all...] |
/frameworks/base/core/jni/android/graphics/ |
TextLayoutCache.h | 31 #include <SkPaint.h> 71 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, 105 SkPaint::Hinting hinting; 187 void computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars, 201 SkPaint mShapingPaint; 208 SkTypeface* typefaceForScript(const SkPaint* paint, SkTypeface* typeface, 211 size_t shapeFontRun(const SkPaint* paint); 213 void computeValues(const SkPaint* paint, const UChar* chars, 218 void computeRunValues(const SkPaint* paint, const UChar* chars, 249 sp<TextLayoutValue> getValue(const SkPaint* paint, const jchar* text, jint start [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontMac.cpp | 41 #include "third_party/skia/include/core/SkPaint.h" 57 static void setupPaint(SkPaint* paint, const SimpleFontData* fontData, const Font* font, bool shouldAntialias, bool shouldSmoothFonts) 79 paint->setHinting(SkPaint::kNo_Hinting); 83 paint->setHinting(SkPaint::kNo_Hinting); 152 SkPaint paint; 156 paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); 165 SkPaint paint; 169 paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
|
/external/skia/bench/ |
DisplacementBench.cpp | 41 SkPaint paint; 57 SkPaint darkPaint; 59 SkPaint lightPaint; 74 void drawClippedBitmap(SkCanvas* canvas, int x, int y, const SkPaint& paint) { 103 SkPaint paint; 130 SkPaint paint; 156 SkPaint paint;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkLayerDrawLooper.cpp | 40 SkPaint* SkLayerDrawLooper::addLayer(const LayerInfo& info) { 61 SkPaint* SkLayerDrawLooper::addLayerOnTop(const LayerInfo& info) { 101 void SkLayerDrawLooper::ApplyInfo(SkPaint* dst, const SkPaint& src, 109 SkPaint::TextEncoding encoding = dst->getTextEncoding(); 172 bool SkLayerDrawLooper::next(SkCanvas* canvas, SkPaint* paint) { 268 SkAddFlagToString(str, SkToBool(SkPaint::kAntiAlias_Flag & rec->fInfo.fFlagsMask), 270 // SkAddFlagToString(str, SkToBool(SkPaint::kFilterBitmap_Flag & rec->fInfo.fFlagsMask), "FilterBitmap", &needSeparator); 271 SkAddFlagToString(str, SkToBool(SkPaint::kDither_Flag & rec->fInfo.fFlagsMask), 273 SkAddFlagToString(str, SkToBool(SkPaint::kUnderlineText_Flag & rec->fInfo.fFlagsMask) [all...] |
/external/skia/src/effects/ |
SkLayerDrawLooper.cpp | 40 SkPaint* SkLayerDrawLooper::addLayer(const LayerInfo& info) { 61 SkPaint* SkLayerDrawLooper::addLayerOnTop(const LayerInfo& info) { 101 void SkLayerDrawLooper::ApplyInfo(SkPaint* dst, const SkPaint& src, 109 SkPaint::TextEncoding encoding = dst->getTextEncoding(); 172 bool SkLayerDrawLooper::next(SkCanvas* canvas, SkPaint* paint) { 268 SkAddFlagToString(str, SkToBool(SkPaint::kAntiAlias_Flag & rec->fInfo.fFlagsMask), 270 // SkAddFlagToString(str, SkToBool(SkPaint::kFilterBitmap_Flag & rec->fInfo.fFlagsMask), "FilterBitmap", &needSeparator); 271 SkAddFlagToString(str, SkToBool(SkPaint::kDither_Flag & rec->fInfo.fFlagsMask), 273 SkAddFlagToString(str, SkToBool(SkPaint::kUnderlineText_Flag & rec->fInfo.fFlagsMask) [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFGraphicState.cpp | 102 const SkPaint& paint) { 187 int SkPDFGraphicState::Find(const SkPaint& paint) { 197 SkPDFGraphicState::SkPDFGraphicState(const SkPaint& paint) 214 SK_COMPILE_ASSERT(SkPaint::kButt_Cap == 0, paint_cap_mismatch); 215 SK_COMPILE_ASSERT(SkPaint::kRound_Cap == 1, paint_cap_mismatch); 216 SK_COMPILE_ASSERT(SkPaint::kSquare_Cap == 2, paint_cap_mismatch); 217 SK_COMPILE_ASSERT(SkPaint::kCapCount == 3, paint_cap_mismatch); 221 SK_COMPILE_ASSERT(SkPaint::kMiter_Join == 0, paint_join_mismatch); 222 SK_COMPILE_ASSERT(SkPaint::kRound_Join == 1, paint_join_mismatch); 223 SK_COMPILE_ASSERT(SkPaint::kBevel_Join == 2, paint_join_mismatch) [all...] |