Source/WebKit/efl/ewk/ewk_view.cpp
void ewk_view_paint_context_paint(Ewk_View_Paint_Context* ctxt, const Eina_Rectangle* area)
{
    EINA_SAFETY_ON_NULL_RETURN(ctxt);
    EINA_SAFETY_ON_NULL_RETURN(area);

    WebCore::IntRect rect(area->x, area->y, area->w, area->h);

    if (ctxt->view->isTransparent())
        ctxt->gc->clearRect(rect);
    ctxt->view->paint(ctxt->gc, rect);
}
/**
 * Paint using context using given area.
 *
 * @param ctxt paint context to paint. Must @b not be @c 0.
 * @param area paint area to use. Coordinates are relative to current viewport,
 *        thus "scrolled".
 *
 * @note one may use cairo functions on the cairo context to
 *       translate, scale or any modification that may fit his desires.
 *
 * @see ewk_view_paint_context_clip()
 * @see ewk_view_paint_context_paint_contents()
 *
 * @note this is not for general use but just for subclasses that want
 *       to define their own backing store.
 */
Paint using context using given area.
@param ctxt paint context to paint. Must @b not be @c 0.
@param area paint area to use. Coordinates are relative to current viewport,
thus "scrolled".

@note one may use cairo functions on the cairo context to
translate, scale or any modification that may fit his desires.



@note this is not for general use but just for subclasses that want
to define their own backing store.
Paint using context using given area . @param ctxt paint context to paint . Must @b not be @c 0 . @param area paint area to use . Coordinates are relative to current viewport thus " scrolled " . @note one may use cairo functions on the cairo context to translate scale or any modification that may fit his desires . @note this is not for general use but just for subclasses that want to define their own backing store .
void ewk_view_paint_context_paint(Ewk_View_Paint_Context* ctxt, const Eina_Rectangle* area)
{
    EINA_SAFETY_ON_NULL_RETURN(ctxt);
    EINA_SAFETY_ON_NULL_RETURN(area);
    WebCore::IntRect rect(area->x, area->y, area->w, area->h);
    if (ctxt->view->isTransparent())
        ctxt->gc->clearRect(rect);
    ctxt->view->paint(ctxt->gc, rect);
}
void ewk_view_paint_context_paint ( Ewk_View_Paint_Context * ctxt , const Eina_Rectangle * area ) { EINA_SAFETY_ON_NULL_RETURN ( ctxt ) ; EINA_SAFETY_ON_NULL_RETURN ( area ) ; WebCore :: IntRect rect ( area -> x , area -> y , area -> w , area -> h ) ; if ( ctxt -> view -> isTransparent ( ) ) ctxt -> gc -> clearRect ( rect ) ; ctxt -> view -> paint ( ctxt -> gc , rect ) ; }
Paint using context using given area.
Paint using context using given area .