Source/WebKit/efl/ewk/ewk_view.cpp
void ewk_view_paint_context_paint_contents(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->paintContents(ctxt->gc, rect);
}
/**
 * Paint just contents using context using given area.
 *
 * Unlike ewk_view_paint_context_paint(), this function paint just
 * bare contents and ignores any scrolling, scrollbars and extras. It
 * will walk the rendering tree and paint contents inside the given
 * area to the cairo context specified in @a ctxt.
 *
 * @param ctxt paint context to paint. Must @b not be @c 0.
 * @param area paint area to use. Coordinates are absolute to page.
 *
 * @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()
 *
 * @note this is not for general use but just for subclasses that want
 *       to define their own backing store.
 */
Paint just contents using context using given area.
Unlike ewk_view_paint_context_paint(), this function paint just
bare contents and ignores any scrolling, scrollbars and extras. It
will walk the rendering tree and paint contents inside the given
area to the cairo context specified in @a ctxt.

@param ctxt paint context to paint. Must @b not be @c 0.
@param area paint area to use. Coordinates are absolute to page.

@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 just contents using context using given area . Unlike ewk_view_paint_context_paint () this function paint just bare contents and ignores any scrolling scrollbars and extras . It will walk the rendering tree and paint contents inside the given area to the cairo context specified in @a ctxt . @param ctxt paint context to paint . Must @b not be @c 0 . @param area paint area to use . Coordinates are absolute to page . @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_contents(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->paintContents(ctxt->gc, rect);
}
void ewk_view_paint_context_paint_contents ( 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 -> paintContents ( ctxt -> gc , rect ) ; }
Paint just contents using context using given area.
Paint just contents using context using given area .