Example #1
0
        public Stroke NewFromPoints(VectorsStrokeType type,
                                    CoordinateList <double> controlpoints,
                                    bool closed)
        {
            var tmp      = controlpoints.ToArray();
            int strokeID = gimp_vectors_stroke_new_from_points(_ID, type, tmp.Length,
                                                               tmp, closed);

            return(new Stroke(_ID, strokeID));
        }
Example #2
0
        static extern int gimp_vectors_stroke_new_from_points(Int32 drawable_ID,
						     VectorsStrokeType type,
						     int num_points,
						     double[] controlpoints,
						     bool closed);
Example #3
0
        public Stroke NewFromPoints(VectorsStrokeType type, 
				CoordinateList<double> controlpoints,
				bool closed)
        {
            var tmp = controlpoints.ToArray();
              int strokeID = gimp_vectors_stroke_new_from_points(_ID, type, tmp.Length,
                             tmp, closed);
              return new Stroke(_ID, strokeID);
        }
Example #4
0
 static extern int gimp_vectors_stroke_new_from_points(Int32 drawable_ID,
                                                       VectorsStrokeType type,
                                                       int num_points,
                                                       double[] controlpoints,
                                                       bool closed);