You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
+
- Add `is_stroked` attribute to `Rect` and `Line`: indicates whether the PDF path is stroked (from `path.is_stroked()`)
13
+
- Add `fill_mode` attribute to `Rect` and `Line`: fill rule from pdfium-render `PdfPathFillMode` (NONE, WINDING, or EVEN_ODD); expose `FillMode` enum to Python with same three values
14
+
- Replace `Line.color` with `Line.stroke_color` and `Line.fill_color` (aligned with `Rect`)
12
15
- Add `Table.to_list()` returning `list[list[TableCellValue]]`: each cell has `text` (or `None` when merged), `merged_left`, and `merged_top` so merge direction (left vs above) is explicit
13
16
- Add `TableCellValue` class with attributes `text`, `merged_left`, and `merged_top` for use with `to_list()`
14
17
- Add `get_intersections_from_edges(h_edges, v_edges, ...)` function: given horizontal and vertical edges (as returned by `get_edges`), returns a mapping from every `(x, y)` intersection point to the edges that pass through it; accepts the same tolerance kwargs as `get_edges`
@@ -21,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
24
22
25
### Changed
23
26
27
+
-**Breaking:**`Line.color` has been removed. Use `Line.stroke_color` and `Line.fill_color` instead (aligned with `Rect`).
24
28
-`Page` is now a Python-level wrapper that holds a `doc` back-reference; Rust-side type is `Pyo3Page`
0 commit comments