Bug 124432
| Summary: | GraphicsContext::createCompatibleBuffer might return a buffer with an incorrect scale | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | Layout and Rendering | Assignee: | Myles C. Maxfield <mmaxfield> |
| Status: | NEW | ||
| Severity: | Normal | CC: | simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Myles C. Maxfield
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |