Searched defs:canvas (Results 1 - 25 of 1072) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/experimental/webtry/
H A Dresult.cpp12 void draw(SkCanvas* canvas) { argument
26 canvas->drawLine(20, 20, 100, 100, p);
/external/skia/experimental/webtry/
H A Dresult.cpp12 void draw(SkCanvas* canvas) { argument
26 canvas->drawLine(20, 20, 100, 100, p);
/external/chromium_org/cc/test/
H A Dsolid_color_content_layer_client.cc15 SkCanvas* canvas,
22 canvas->clear(SK_ColorTRANSPARENT);
23 canvas->drawRect(
14 PaintContents( SkCanvas* canvas, const gfx::Rect& rect, ContentLayerClient::GraphicsContextStatus gc_status) argument
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dtop_container_view.cc22 void TopContainerView::OnPaintBackground(gfx::Canvas* canvas) { argument
28 frame->Paint(canvas, views::CullSet());
/external/chromium_org/chrome/renderer/
H A Dwebview_color_overlay.cc28 void WebViewColorOverlay::paintPageOverlay(blink::WebCanvas* canvas) { argument
33 canvas->drawRect(rect, paint);
/external/chromium_org/content/child/
H A Dwebthemeengine_impl_mac.cc31 WebCanvas* canvas,
56 gfx::SkiaBitLocker bitLocker(canvas);
30 paintScrollbarThumb( WebCanvas* canvas, WebThemeEngine::State state, WebThemeEngine::Size size, const WebRect& rect, const WebThemeEngine::ScrollbarInfo& scrollbarInfo) argument
/external/chromium_org/content/renderer/
H A Dsad_plugin.cc22 SkCanvas* canvas = webcanvas; local
23 SkAutoCanvasRestore auto_restore(canvas, true);
24 // We draw the sad-plugin bitmap at the origin of canvas.
26 canvas->translate(plugin_rect.x(), plugin_rect.y());
31 canvas->drawRectCoords(0, 0, SkIntToScalar(width), SkIntToScalar(height),
33 canvas->drawBitmap(
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext.cpp27 #include "core/html/canvas/CanvasRenderingContext.h"
29 #include "core/html/canvas/CanvasImageSource.h"
34 CanvasRenderingContext::CanvasRenderingContext(HTMLCanvasElement* canvas) argument
35 : m_canvas(canvas)
52 bool taintOrigin = imageSource->wouldTaintOrigin(canvas()->securityOrigin());
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DUnacceleratedImageBufferSurface.cpp49 SkCanvas* UnacceleratedImageBufferSurface::canvas() const function in class:blink::UnacceleratedImageBufferSurface
/external/chromium_org/third_party/flot/
H A Djquery.flot.canvas.min.js1 /* Flot plugin for drawing all elements of a plot on the canvas.
8 looks better, due to cross-browser canvas text inconsistencies and limitations.
10 It can also be desirable to render the plot entirely in canvas, particularly
13 switches out Flot's standard drawing operations for canvas-only replacements.
16 every element of the plot to be rendered directly to canvas.
21 canvas: boolean
24 The "canvas" option controls whether full canvas drawing is enabled, making it
26 browser, but needs to redraw with canvas text when exporting as an image.
28 */(function(e){function o(t,o){var u=o.Canvas;n==null&&(r=u.prototype.getTextInfo,i=u.prototype.addText,n=u.prototype.render),u.prototype.render=function(){if(!t.getOptions().canvas)retur
[all...]
/external/chromium_org/third_party/skia/experimental/FileReaderApp/
H A DReaderView.cpp26 void ReaderView::draw(SkCanvas* canvas) { argument
27 canvas->drawColor(fBGColor);
29 SkAutoCanvasRestore acr(canvas, true);
31 //Create a temporary canvas and reader object that draws into the back
73 canvas->drawBitmap(fBufferBitmaps[fFront], 0, 0, NULL);
/external/chromium_org/third_party/skia/gm/
H A Dlerpmode.cpp12 static void show_circlelayers(SkCanvas* canvas, SkXfermode* mode) { argument
19 canvas->drawRect(r, paint);
21 canvas->saveLayer(&bounds, NULL);
26 canvas->drawOval(r, paint);
32 canvas->drawOval(r, paint);
34 canvas->restore();
50 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
51 show_circlelayers(canvas, NULL);
52 canvas->translate(150, 0);
54 show_circlelayers(canvas, mod
[all...]
H A Dpicture.cpp14 SkCanvas* canvas = rec.beginRecording(100, 100); local
21 canvas->drawRect(SkRect::MakeWH(100, 100), paint);
25 canvas->drawPath(path, paint);
29 canvas->drawPath(path, paint);
33 canvas->drawRect(SkRect::MakeXYWH(25, 25, 50, 50), paint);
53 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
54 canvas->translate(10, 10);
59 canvas->drawPicture(fPicture);
62 canvas->drawPicture(fPicture, &matrix, NULL);
65 canvas
[all...]
/external/chromium_org/third_party/skia/include/core/
H A DSkMultiPictureDraw.h20 The MultiPictureDraw object accepts several picture/canvas pairs and
34 * Add a canvas/picture pair for later rendering.
35 * @param canvas the canvas in which to draw picture
36 * @param picture the picture to draw into canvas
41 void add(SkCanvas* canvas,
59 SkCanvas* canvas; // reffed member in struct:SkMultiPictureDraw::DrawData
/external/chromium_org/third_party/skia/samplecode/
H A DSampleBigBlur.cpp29 virtual void onDrawContent(SkCanvas* canvas) { argument
31 canvas->save();
38 canvas->translate(200, 200);
39 canvas->drawCircle(100, 100, 200, paint);
40 canvas->restore();
H A DSampleEmboss.cpp49 virtual void onDrawContent(SkCanvas* canvas) { argument
60 canvas->drawCircle(SkIntToScalar(50), SkIntToScalar(50),
/external/chromium_org/third_party/skia/src/core/
H A DSkDrawLooper.cpp16 SkCanvas canvas; local
20 SkDrawLooper::Context* context = this->createContext(&canvas, buffer);
23 if (context->next(&canvas, &p)) {
37 SkCanvas canvas; local
42 SkDrawLooper::Context* context = this->createContext(&canvas, buffer);
45 if (context->next(&canvas, &p)) {
50 canvas.getTotalMatrix().mapRect(&r);
H A DSkMultiPictureDraw.cpp21 fDrawData[i].canvas->unref();
28 void SkMultiPictureDraw::add(SkCanvas* canvas, argument
32 if (NULL == canvas || NULL == picture) {
40 data->canvas = SkRef(canvas);
55 fDrawData[i].canvas->drawPicture(fDrawData[i].picture,
/external/chromium_org/third_party/skia/src/views/
H A DSkBGViewArtist.cpp21 void SkBGViewArtist::onDraw(SkView*, SkCanvas* canvas) argument
24 canvas->drawPaint(fPaint);
/external/chromium_org/third_party/skia/tests/
H A DGpuDrawPathTest.cpp21 static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) { argument
24 canvas->drawRect(SkRect(), paint);
25 canvas->drawPath(SkPath(), paint);
26 canvas->drawOval(SkRect(), paint);
27 canvas->drawRect(SkRect(), paint);
28 canvas->drawRRect(SkRRect(), paint);
36 canvas->drawRect(SkRect(), paint);
37 canvas->drawPath(SkPath(), paint);
38 canvas->drawOval(SkRect(), paint);
39 canvas
[all...]
/external/chromium_org/ui/app_list/views/
H A Dcached_label.cc9 #include "ui/gfx/canvas.h"
25 gfx::Canvas canvas(size(), scale_factor, is_opaque);
26 // If a background is provided, it will initialize the canvas in
29 canvas.FillRect(
32 Label::OnPaint(&canvas);
33 image_ = gfx::ImageSkia(canvas.ExtractImageRep());
38 void CachedLabel::OnPaint(gfx::Canvas* canvas) { argument
40 canvas->DrawImageInt(image_, 0, 0);
/external/chromium_org/ui/gfx/
H A Dscoped_canvas.h8 #include "ui/gfx/canvas.h"
15 explicit ScopedCanvas(gfx::Canvas* canvas) : canvas_(canvas) { argument
23 void SetCanvas(gfx::Canvas* canvas) { argument
26 canvas_ = canvas;
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_separator_win.cc11 #include "ui/gfx/canvas.h"
21 void MenuSeparator::OnPaint(gfx::Canvas* canvas) { argument
25 OnPaintAura(canvas);
38 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupGutter,
56 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupSeparator,
/external/skia/experimental/FileReaderApp/
H A DReaderView.cpp26 void ReaderView::draw(SkCanvas* canvas) { argument
27 canvas->drawColor(fBGColor);
29 SkAutoCanvasRestore acr(canvas, true);
31 //Create a temporary canvas and reader object that draws into the back
73 canvas->drawBitmap(fBufferBitmaps[fFront], 0, 0, NULL);
/external/skia/gm/
H A Dlerpmode.cpp12 static void show_circlelayers(SkCanvas* canvas, SkXfermode* mode) { argument
19 canvas->drawRect(r, paint);
21 canvas->saveLayer(&bounds, NULL);
26 canvas->drawOval(r, paint);
32 canvas->drawOval(r, paint);
34 canvas->restore();
54 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
55 show_circlelayers(canvas, NULL);
56 canvas->translate(150, 0);
58 show_circlelayers(canvas, mod
[all...]

Completed in 710 milliseconds

1234567891011>>