Skip to content
Commit 8777abe7 authored by Kent Tamura's avatar Kent Tamura Committed by Chromium LUCI CQ
Browse files

shape-outside: Build RasterShapeIntervals correctly in vertical writing modes.

* Pass a correct WritingMode to LogicalPixelScanner.
* ExtractIntervalsFromImageData() requires a logical image rectangle.
  ShapeOutsideInfo::CreateShapeForImage() converts a physical image
  rectangle to a logical rectangle.
* ExtractIntervalsFromImageData() requires a physical image size too.
  Shape::CreateRasterShape() maakes it from a logical image rectangle,
  and pass it to ExtractIntervalsFromImageData().

Bug: 40149424, 359616076
Change-Id: I8c6c43f7e11afbdd2174b5e6f50eb01dbc244d56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5786293


Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1343915}
parent a6060169
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment