Simon Sapin
|
d184eb26bd
|
Fix SVG dimensions.
|
2012-01-13 18:16:27 +01:00 |
|
Simon Sapin
|
d483f77a8e
|
Do not use cairo.EXTEND_REPEAT when background-repeat is 'no-repeat'.
There seem to be a bug in cairo that rasterizes SurfacePattern
objects when extend is EXTEND_REPEAT.
|
2012-01-11 19:15:16 +01:00 |
|
Simon Sapin
|
215091f45c
|
Revert to having used values for border width.
This reverts commit 9464643f24 and adds
more fixes.
|
2011-12-30 17:26:56 +01:00 |
|
Simon Sapin
|
c4234ec80b
|
Create margin boxes (not laid-out correctly yet.)
|
2011-12-28 16:47:59 +01:00 |
|
Simon Sapin
|
e1f59a3667
|
Prepare for margin boxes, make PageBox a ParentBox.
|
2011-12-28 12:54:36 +01:00 |
|
Simon Sapin
|
29388af63f
|
Move backgroun-position parsing from draw to validation
|
2011-12-16 14:26:21 +01:00 |
|
Simon Sapin
|
3b4927b594
|
Implement all remaining border styles: inset, outset, ridge, groove.
|
2011-12-13 16:46:09 +01:00 |
|
Simon Sapin
|
a74bc3e48f
|
Implement the 'double' border style.
|
2011-12-13 16:19:45 +01:00 |
|
Simon Sapin
|
0c4f61b675
|
Improve border drawing details
|
2011-12-13 16:04:19 +01:00 |
|
Simon Sapin
|
181eef32bf
|
Get rid of Replacement objects.
|
2011-12-08 18:11:32 +01:00 |
|
Simon Sapin
|
48f732c8d1
|
Refactor image loading.
|
2011-12-08 17:07:17 +01:00 |
|
Simon Sapin
|
6ffe9236b8
|
Remove references to document in boxes.
|
2011-12-02 15:34:47 +01:00 |
|
Simon Sapin
|
8082d9ddb9
|
Remove references to elements in boxes.
|
2011-12-02 12:36:20 +01:00 |
|
Simon Sapin
|
08f3bd2557
|
Draw colums and column groups.
|
2011-11-29 12:43:42 +01:00 |
|
Simon Sapin
|
8500f6664d
|
Disable antialiasing on borders to make them crisp
|
2011-11-29 12:42:16 +01:00 |
|
Simon Sapin
|
9464643f24
|
Remove Box.broder_*_width, they’re always the same as in Box.style
|
2011-11-29 12:41:47 +01:00 |
|
Simon Sapin
|
cfd20d1e78
|
Implement the visibility property.
|
2011-10-21 11:15:06 +02:00 |
|
Simon Sapin
|
24b0dfc63e
|
Re-factor urllib usage and add a custom User-Agent.
It seems that Wikimedia bans the urllib user agent.
|
2011-10-17 15:04:13 +02:00 |
|
Simon Sapin
|
a8697bcc48
|
Move weasy.html and weasy.draw from packages back to modules.
|
2011-10-14 19:07:13 +02:00 |
|
Salem Harrache
|
fc9f02a240
|
add drawing background-image without repeat-x/y/position properties
|
2011-08-09 16:08:58 +02:00 |
|
Salem Harrache
|
0849ee3897
|
Merge branch 'master' of gitorious.org:weasyprint/weasyprint
Conflicts:
weasy/draw.py
weasy/layout/__init__.py
weasy/tests/test_web/runwebsite.py
|
2011-08-09 10:41:10 +02:00 |
|
Salem Harrache
|
9ad3608594
|
add drawing img (with display block)
|
2011-08-09 10:15:53 +02:00 |
|
Simon Sapin
|
0daf4ba25c
|
Draw the root element’s background on the entire canvas.
|
2011-08-08 21:20:43 +02:00 |
|
Simon Sapin
|
0df46cc436
|
Fix multi-page PNG.
|
2011-08-08 17:04:01 +02:00 |
|
Simon Sapin
|
3db19d8fef
|
Unify PNG and PDF with a Document.write_to(target) API.
PNG gets all pages in a single file, each above the next.
|
2011-08-05 15:55:34 +02:00 |
|
Salem Harrache
|
97d78d1205
|
add drawing border
|
2011-08-05 11:31:16 +02:00 |
|
Salem Harrache
|
67232b38fb
|
add PNGDocument class, a document that allows to render the html to png
|
2011-07-29 01:14:05 +02:00 |
|
Salem Harrache
|
4d53499369
|
add drawing textbox
|
2011-07-28 18:39:35 +02:00 |
|
Salem Harrache
|
3d0ecf8666
|
fix many things for drawing
|
2011-07-27 18:15:57 +02:00 |
|
Simon Sapin
|
5341bb4dbf
|
Add more computed sizes on boxes, make them methods with docstrings.
|
2011-07-22 15:13:56 +02:00 |
|
Simon Sapin
|
99339ef3e7
|
Convert from cssutils colors 0..255 to cairo’s 0..1
|
2011-07-13 18:28:41 +02:00 |
|
Simon Sapin
|
53cff3d6d2
|
Code cleanups.
|
2011-07-13 18:28:41 +02:00 |
|
Simon Sapin
|
aee2108222
|
Initial drawing.
|
2011-07-12 17:53:15 +02:00 |
|