Home | History | Annotate | Download | only in DumpRenderTree

Lines Matching refs:pageWidthInPixels

468 static bool parsePageParameters(JSContextRef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, float& pageWidthInPixels, float& pageHeightInPixels)
472 pageWidthInPixels = 800;
476 pageWidthInPixels = static_cast<float>(JSValueToNumber(context, arguments[0], exception));
492 float pageWidthInPixels = 0;
494 if (!parsePageParameters(context, argumentCount - 1, arguments + 1, exception, pageWidthInPixels, pageHeightInPixels))
502 int pageNumber = controller->pageNumberForElementById(elementId.get(), pageWidthInPixels, pageHeightInPixels);
508 float pageWidthInPixels = 0;
510 if (!parsePageParameters(context, argumentCount, arguments, exception, pageWidthInPixels, pageHeightInPixels))
514 return JSValueMakeNumber(context, controller->numberOfPages(pageWidthInPixels, pageHeightInPixels));