Issue 105939 - Adds a specialized clipper for axis-aligned boxes
Summary: Adds a specialized clipper for axis-aligned boxes
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: current
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: Armin Le Grand
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-15 23:52 UTC by thb
Modified: 2010-05-27 15:40 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description thb 2009-10-15 23:52:57 UTC
Generic polygon clipping is hard (cf. floating point accuracy). Clipping
axis-aligned boxes is much easier, and a quite common task e.g. for wmf/emf
import. This patch adds functionality for that to basegfx.
Comment 1 thb 2009-10-16 00:10:35 UTC
Split up into several commits:

commit 76e16f751771 adds the specialized box clipper class & tests
commit 940ec0795198 adds special clip-state class for general output device clip
state handling, and makes use of that from inside slideshow.

commit e2573ed7c7ae is slightly unrelated, but greatly speeds up the basegfx svg
polygon export (quite useful for the unit tests)
Comment 2 thb 2010-01-18 11:52:21 UTC
target.
Comment 3 thb 2010-02-19 21:54:18 UTC
@aw: please have a look at that feature, too. extensive unit testing is in
place, but well... ;)

(fixes issue 72418, FWICT)
Comment 4 Armin Le Grand 2010-03-16 15:41:33 UTC
AW: Checked AFAIC in the provided diff, looks okay.
Comment 5 Armin Le Grand 2010-05-27 15:40:02 UTC
AW: Closing