Confirmed users
490
edits
m (s/An pixel/A pixel/) |
|||
| Line 18: | Line 18: | ||
* An image-space to device-space transform (translation and scale) | * An image-space to device-space transform (translation and scale) | ||
* A device-space, pixel-aligned rectangle to fill | * A device-space, pixel-aligned rectangle to fill | ||
* | * A pixel rectangle in tiled image space outside of which gfx should not sample (using EXTEND_PAD as necessary) | ||
For CSS background drawing, the "image initial rectangle" is determined by background-size and the "anchor point" for the image (which is determined by background-position and background-attachment). The "logical fill rectangle" is the intersection of background-clip and the area covered by the image (determined by taking the image initial rectangle and tiling it as per background-repeat). | For CSS background drawing, the "image initial rectangle" is determined by background-size and the "anchor point" for the image (which is determined by background-position and background-attachment). The "logical fill rectangle" is the intersection of background-clip and the area covered by the image (determined by taking the image initial rectangle and tiling it as per background-repeat). | ||