|
Lines 2609-2616
void ewk_view_paint_context_clip(Ewk_View_Paint_Context* context, const Eina_Rec
a/Source/WebKit/efl/ewk/ewk_view.cpp_sec1
|
| 2609 |
{ |
2609 |
{ |
| 2610 |
EINA_SAFETY_ON_NULL_RETURN(context); |
2610 |
EINA_SAFETY_ON_NULL_RETURN(context); |
| 2611 |
EINA_SAFETY_ON_NULL_RETURN(area); |
2611 |
EINA_SAFETY_ON_NULL_RETURN(area); |
| 2612 |
|
2612 |
context->graphicContext->clip(WebCore::IntRect(*area)); |
| 2613 |
context->graphicContext->clip(WebCore::IntRect(area->x, area->y, area->w, area->h)); |
|
|
| 2614 |
} |
2613 |
} |
| 2615 |
|
2614 |
|
| 2616 |
void ewk_view_paint_context_paint(Ewk_View_Paint_Context* context, const Eina_Rectangle* area) |
2615 |
void ewk_view_paint_context_paint(Ewk_View_Paint_Context* context, const Eina_Rectangle* area) |
|
Lines 2618-2624
void ewk_view_paint_context_paint(Ewk_View_Paint_Context* context, const Eina_Re
a/Source/WebKit/efl/ewk/ewk_view.cpp_sec2
|
| 2618 |
EINA_SAFETY_ON_NULL_RETURN(context); |
2617 |
EINA_SAFETY_ON_NULL_RETURN(context); |
| 2619 |
EINA_SAFETY_ON_NULL_RETURN(area); |
2618 |
EINA_SAFETY_ON_NULL_RETURN(area); |
| 2620 |
|
2619 |
|
| 2621 |
WebCore::IntRect rect(area->x, area->y, area->w, area->h); |
2620 |
WebCore::IntRect rect(*area); |
| 2622 |
|
2621 |
|
| 2623 |
if (context->view->isTransparent()) |
2622 |
if (context->view->isTransparent()) |
| 2624 |
context->graphicContext->clearRect(rect); |
2623 |
context->graphicContext->clearRect(rect); |
|
Lines 2630-2636
void ewk_view_paint_context_paint_contents(Ewk_View_Paint_Context* context, cons
a/Source/WebKit/efl/ewk/ewk_view.cpp_sec3
|
| 2630 |
EINA_SAFETY_ON_NULL_RETURN(context); |
2629 |
EINA_SAFETY_ON_NULL_RETURN(context); |
| 2631 |
EINA_SAFETY_ON_NULL_RETURN(area); |
2630 |
EINA_SAFETY_ON_NULL_RETURN(area); |
| 2632 |
|
2631 |
|
| 2633 |
WebCore::IntRect rect(area->x, area->y, area->w, area->h); |
2632 |
WebCore::IntRect rect(*area); |
| 2634 |
|
2633 |
|
| 2635 |
if (context->view->isTransparent()) |
2634 |
if (context->view->isTransparent()) |
| 2636 |
context->graphicContext->clearRect(rect); |
2635 |
context->graphicContext->clearRect(rect); |
|
Lines 2663-2669
Eina_Bool ewk_view_paint(Ewk_View_Private_Data* priv, cairo_t* cr, const Eina_Re
a/Source/WebKit/efl/ewk/ewk_view.cpp_sec4
|
| 2663 |
if (view->needsLayout()) |
2662 |
if (view->needsLayout()) |
| 2664 |
view->forceLayout(); |
2663 |
view->forceLayout(); |
| 2665 |
WebCore::GraphicsContext graphicsContext(cr); |
2664 |
WebCore::GraphicsContext graphicsContext(cr); |
| 2666 |
WebCore::IntRect rect(area->x, area->y, area->w, area->h); |
2665 |
WebCore::IntRect rect(*area); |
| 2667 |
|
2666 |
|
| 2668 |
cairo_save(cr); |
2667 |
cairo_save(cr); |
| 2669 |
graphicsContext.save(); |
2668 |
graphicsContext.save(); |
|
Lines 2686-2692
Eina_Bool ewk_view_paint_contents(Ewk_View_Private_Data* priv, cairo_t* cr, cons
a/Source/WebKit/efl/ewk/ewk_view.cpp_sec5
|
| 2686 |
EINA_SAFETY_ON_NULL_RETURN_VAL(view, false); |
2685 |
EINA_SAFETY_ON_NULL_RETURN_VAL(view, false); |
| 2687 |
|
2686 |
|
| 2688 |
WebCore::GraphicsContext graphicsContext(cr); |
2687 |
WebCore::GraphicsContext graphicsContext(cr); |
| 2689 |
WebCore::IntRect rect(area->x, area->y, area->w, area->h); |
2688 |
WebCore::IntRect rect(*area); |
| 2690 |
|
2689 |
|
| 2691 |
cairo_save(cr); |
2690 |
cairo_save(cr); |
| 2692 |
graphicsContext.save(); |
2691 |
graphicsContext.save(); |