From 975bbb0229edfb8ca2be826994f5422a0c8d6c38 Mon Sep 17 00:00:00 2001 From: francesco-ST Date: 2010年7月30日 14:04:37 +0200 Subject: modified transformation hierarchy to use templates Now trans is a parametrised class that gives uniform acess to drawable and scalable objects. --- agg-plot/utils.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'agg-plot/utils.h') diff --git a/agg-plot/utils.h b/agg-plot/utils.h index 67e667bb..f70bcf04 100644 --- a/agg-plot/utils.h +++ b/agg-plot/utils.h @@ -14,10 +14,7 @@ T min (T a, T b) { return (b> a) ? a : b; } -extern void trans_affine_compose (agg::trans_affine& a, const agg::trans_affine& b); -extern double trans_affine_max_norm (const agg::trans_affine& m); - -extern void bbox_enlarge(double *x1, double* y1, double* x2, double* y2, - double x, double y); +extern void trans_affine_compose (agg::trans_affine& a, + const agg::trans_affine& b); #endif -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /