HomeSort by relevance Sort by last modified time
    Searched full:drawcontext (Results 1 - 2 of 2) sorted by null

  /external/webkit/WebCore/platform/win/
DragImageCGWin.cpp 132 CGContextRef drawContext = 0;
136 hbmp = allocImage(workingDC, img->size(), &drawContext);
141 if (!drawContext) {
152 CGContextScaleCTM(drawContext, 1, -1);
153 CGContextSetFillColor(drawContext, white);
154 CGContextFillRect(drawContext, rect);
155 CGContextSetBlendMode(drawContext, kCGBlendModeNormal);
156 CGContextDrawImage(drawContext, rect, srcImage);
157 CGContextRelease(drawContext);
DragImageCairoWin.cpp 163 CairoContextRef drawContext = 0;
164 hbmp = allocImage(workingDC, img->size(), &drawContext);
168 if (!drawContext) {
173 cairo_set_source_rgb (drawContext, 1.0, 0.0, 1.0);
174 cairo_fill_preserve (drawContext);
179 cairo_set_source_surface(drawContext, srcImage, 0.0, 0.0);
180 cairo_paint(drawContext);
182 cairo_destroy (drawContext);

Completed in 30 milliseconds