Lines Matching defs:options
428 void Editor::paint(SkCanvas* c, PaintOpts options) {
434 c->drawPaint(SkPaint(options.fBackgroundColor));
436 SkPaint selection = SkPaint(options.fSelectionColor);
438 for (TextPosition pos = std::min(options.fSelectionBegin, options.fSelectionEnd, cmp),
439 end = std::max(options.fSelectionBegin, options.fSelectionEnd, cmp);
449 c->drawRect(Editor::getLocation(options.fCursor), SkPaint(options.fCursorColor));
452 SkPaint foreground = SkPaint(options.fForegroundColor);