Bug 124432

Summary: GraphicsContext::createCompatibleBuffer might return a buffer with an incorrect scale
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: NEW    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Myles C. Maxfield
Reported 2013-11-15 13:33:27 PST
buffer.context()->scale(FloatSize(static_cast<float>(scaledSize.width()) / size.width(), static_cast<float>(scaledSize.height()) / size.height())); This scaling strategy means that sometimes the scale in the buffer won't quite match the scale in the target context.
Attachments
Note You need to log in before you can comment on or make changes to this bug.