Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
CString DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels(WebKitWebFrame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), CString());

    Frame* coreFrame = core(frame);
    if (!coreFrame)
        return CString();

    return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageNumber, width, height, marginTop, marginRight, marginBottom, marginLeft).utf8();
}
/**
 * pageSizeAndMarginsInPixels
 * @frame: a #WebKitWebFrame
 * @pageNumber: number of a page 
 * @width: width of a page
 * @height: height of a page
 * @marginTop: top margin of a page
 * @marginRight: right margin of a page
 * @marginBottom: bottom margin of a page
 * @marginLeft: left margin of a page
 *
 * Return value: The value of page size and margin.
 */


Return value: The value of page size and margin.
Return value : The value of page size and margin .
CString DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels(WebKitWebFrame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), CString());
    Frame* coreFrame = core(frame);
    if (!coreFrame)
        return CString();
    return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageNumber, width, height, marginTop, marginRight, marginBottom, marginLeft).utf8();
}
CString DumpRenderTreeSupportGtk :: pageSizeAndMarginsInPixels ( WebKitWebFrame * frame , int pageNumber , int width , int height , int marginTop , int marginRight , int marginBottom , int marginLeft ) { g_return_val_if_fail ( WEBKIT_IS_WEB_FRAME ( frame ) , CString ( ) ) ; Frame * coreFrame = core ( frame ) ; if ( ! coreFrame ) return CString ( ) ; return PrintContext :: pageSizeAndMarginsInPixels ( coreFrame , pageNumber , width , height , marginTop , marginRight , marginBottom , marginLeft ) . utf8 ( ) ; }
pageSizeAndMarginsInPixels
 @frame: a #WebKitWebFrame
 @pageNumber: number of a page
 @width: width of a page
 @height: height of a page
 @marginTop: top margin of a page
 @marginRight: right margin of a page
 @marginBottom: bottom margin of a page
 @marginLeft: left margin of a page
pageSizeAndMarginsInPixels @frame : a #WebKitWebFrame @pageNumber : number of a page @width : width of a page @height : height of a page @marginTop : top margin of a page @marginRight : right margin of a page @marginBottom : bottom margin of a page @marginLeft : left margin of a page