View difference between Paste ID: anQ2Tg2B and gudidWgf
SHOW: | | - or go back to the newest paste.
1-
SRCurvedEdge
1+
(*
2-
SRCurvedEdge
2+
                else if (!point.onCurve && !point_plus1.onCurve)
3-
SRCurvedEdge
3+
                {
4-
SRCurvedEdge
4+
                    segment[0] = point.x * emScale;
5-
SRCurvedEdge
5+
                    segment[1] = -point.y * emScale;
6-
6+
                    segment[2] = midPoint(point.x, point_plus1.x) * emScale;
7-
SRStyleChange
7+
                    segment[3] = -midPoint(point.y, point_plus1.y) * emScale;
8-
s.scsr_move x: -6430
8+
		}
9-
s.scsr_move y: 12902
9+
        	private static double midPoint(int a, int b)
10-
10+
        	{
11-
SRCurvedEdge
11+
        	    return a + (b - a) / 2.0;
12-
SRCurvedEdge
12+
        	}
13-
SRCurvedEdge
13+
*)
14-
SRCurvedEdge
14+
		let a = g.gs_x_coordinates.(p1) in
15-
SRCurvedEdge
15+
		let b = g.gs_x_coordinates.(p2) in
16-
SRCurvedEdge
16+
		let x = float_of_int (a + (b-a)/2) in
17-
s.scer_nbits: 16
17+
		
18-
s.scer_cx: 860
18+
		let a = g.gs_y_coordinates.(p1) in
19-
s.scer_cy: 0
19+
		let b = g.gs_y_coordinates.(p2) in
20-
s.scer_ax: -6430
20+
		let y = float_of_int (a + (b-a)/2) *. -1.0 in