diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-12 21:09:51 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-12 23:46:01 +1000 |
commit | 30e0e6ff95417295874e23376f83fc5ff26bf3d7 (patch) | |
tree | 3289ba6342cc14e208d26fe5dc446c756890b283 /writerfilter/source/dmapper/DomainMapper.cxx | |
parent | 555d49bf1a5d299d45a3b29fa555efcd4e2c917a (diff) |
Unify DrawGradient functions in OutputDevice
Turns out that the two versions of DrawGradient in OutputDevice are
almost exactly the same in every way, except one deals with a rectangle
and the other with a PolyPolygon. So I just convert the Rectangle into
a PolyPolygon and use the PolyPolygon function.
Now that the functions are unified, the need for a seperate function
to clip and draw the gradient is no longer really required, so I've
merged this back into DrawGradient.
Change-Id: I94d4af1bb7dd900495672f0c0481dc9a1083ff67
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapper.cxx')
0 files changed, 0 insertions, 0 deletions