WebKit之图像显示分析流程

来源:互联网 发布:windows ce系统升级 编辑:程序博客网 时间:2024/05/20 22:35

## 流程分析

<img src="a.jpg">


## 图像绘制分析

ImageFrame::setPixmap(const QPixmap & pixmap={...})ImageDecoderQt::internalHandleCurrentImage(unsigned int frameIndex=0)ImageDecoderQt::internalReadImage(unsigned int frameIndex=0)ImageDecoderQt::frameBufferAtIndex(unsigned int index=0)ImageSource::createFrameAtIndex(unsigned int index=0)BitmapImage::cacheFrame(unsigned int index=0)BitmapImage::frameAtIndex(unsigned int index=0)BitmapImage::nativeImageForCurrentFrame()BitmapImage::draw(WebCore::GraphicsContext * ctxt=0x002dc640, const WebCore::FloatRect & dst={...)GraphicsContext::drawImage()GraphicsContext::drawImage()GraphicsContext::drawImage(WebCore::Image * image, WebCore::ColorSpace styleColorSpace)RenderImage::paintIntoRect(WebCore::GraphicsContext * context, const WebCore::IntRect & rect)RenderImage::paintReplaced(WebCore::PaintInfo & paintInfo={...})//默认margin:8,8RenderReplaced::paint(WebCore::PaintInfo & paintInfo,)RenderImage::paint(WebCore::PaintInfo & paintInfo)//绘制图像InlineBox::paint(PaintInfo & paintInfo) //单行元素绘制


0 0
原创粉丝点击