summaryrefslogtreecommitdiff
path: root/render/picture.c
diff options
context:
space:
mode:
authorSoren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com>2007-04-23 14:16:30 -0400
committerSoren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com>2007-04-23 14:16:30 -0400
commitb5e1f7869b2f12a1c2baa7f699ae609fc9ad50aa (patch)
tree7abf3b45e5d28605beac00f16cafb214d41cc718 /render/picture.c
parent84838268b34661d598f8e4856fab355f414930d9 (diff)
Remove #if 0'ed merge leftovers
Diffstat (limited to 'render/picture.c')
-rw-r--r--render/picture.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/render/picture.c b/render/picture.c
index 201ceb25b..2022175b6 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -1051,23 +1051,6 @@ CreateRadialGradientPicture (Picture pid, xPointFixed *inner, xPointFixed *outer
radial = &pPicture->pSourcePict->radial;
radial->type = SourcePictTypeRadial;
-#if 0
- {
- double x = (double)innerRadius / (double)outerRadius;
- radial->dx = (outer->x - inner->x);
- radial->dy = (outer->y - inner->y);
- radial->fx = (inner->x) - x*radial->dx;
- radial->fy = (inner->y) - x*radial->dy;
- radial->m = 1./(1+x);
- radial->b = -x*radial->m;
- radial->dx /= 65536.;
- radial->dy /= 65536.;
- radial->fx /= 65536.;
- radial->fy /= 65536.;
- x = outerRadius/65536.;
- radial->a = x*x - radial->dx*radial->dx - radial->dy*radial->dy;
- }
-#endif
radial->c1.x = inner->x;
radial->c1.y = inner->y;
radial->c1.radius = innerRadius;