I am currently using Xamarin Forms, PLC, and am using SkiSharp. I use Drawpath with no difficulty, but that is just using straight lines. I need to add curves to the drawing. I can find no examples of doing this, and, do not understand exactly what the calls are looking for. I have already posted on the Xamarin forum, (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest). I am posing here because SkiaSharp is based on Skia, and am hoping that someone here can help me on my way. Thanks.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
The original posting contains a link to a posting in the Skiasharp forum (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest), with images. Do you want me to include them here?
Sent from Mail for Windows 10
From: 'Cary Clark' via skia-discuss
Sent: Wednesday, March 22, 2017 10:15 AM
To: skia-d...@googlegroups.com
Subject: Re: Trying to understand Skia arc\curve
Many functions in SkPath add curves:
quadraticTo, rQuadraticTo
cubicTo, rCubicTo
conicTo, rConicTo
addArc, arcTo
What kind of curve are you trying to add?
Which call are you making that doesn't work as you expect?
You can put an example here that will help clarify your question:
On Wed, Mar 22, 2017 at 10:05 AM, <louels...@gmail.com> wrote:
Putting aside trying to convert\translate the survey curves to what the drawpath would need, is there any example (in Skia), of a polygon that is basically straight lines, with an attached curve?
On Thursday, March 16, 2017 at 11:21:46 AM UTC-4, louels...@gmail.com wrote:I am currently using Xamarin Forms, PLC, and am using SkiSharp. I use Drawpath with no difficulty, but that is just using straight lines. I need to add curves to the drawing. I can find no examples of doing this, and, do not understand exactly what the calls are looking for. I have already posted on the Xamarin forum, (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest). I am posing here because SkiaSharp is based on Skia, and am hoping that someone here can help me on my way. Thanks.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
The original posting contains a link to a posting in the Skiasharp forum (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest), with images. Do you want me to include them here?
Sent from Mail for Windows 10
From: 'Cary Clark' via skia-discuss
Sent: Wednesday, March 22, 2017 10:15 AM
To: skia-d...@googlegroups.com
Subject: Re: Trying to understand Skia arc\curve
Many functions in SkPath add curves:
quadraticTo, rQuadraticTo
cubicTo, rCubicTo
conicTo, rConicTo
addArc, arcTo
What kind of curve are you trying to add?
Which call are you making that doesn't work as you expect?
You can put an example here that will help clarify your question:
On Wed, Mar 22, 2017 at 10:05 AM, <louels...@gmail.com> wrote:
Putting aside trying to convert\translate the survey curves to what the drawpath would need, is there any example (in Skia), of a polygon that is basically straight lines, with an attached curve?
On Thursday, March 16, 2017 at 11:21:46 AM UTC-4, louels...@gmail.com wrote:I am currently using Xamarin Forms, PLC, and am using SkiSharp. I use Drawpath with no difficulty, but that is just using straight lines. I need to add curves to the drawing. I can find no examples of doing this, and, do not understand exactly what the calls are looking for. I have already posted on the Xamarin forum, (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest). I am posing here because SkiaSharp is based on Skia, and am hoping that someone here can help me on my way. Thanks.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
Let me explain that I am not really a graphics person, or a GIS type, so I do not understand a lot of this. When I go that that site, and click on the options, six little images appear showing different drawings. The left wo drawings show images of drawings that have a mixture of straight lines, and curves. Basically, that is what I am trying to achieve (take a survey and draw the image, sometimes it is all straight lines, sometimes it has curves. I have the straight line drawing done, now just trying to add curves to a drawing. Putting aside the fact that I still need to learn how to convert the curves of the survey to what Skia (or SkiaSharp) is looking for, I would like to see the code that creates those two left images.
As per your instructions, when I click on the Menu\Fiddles, I see a long list of fiddles, but do not know which one would be similar to the two drawings that I pointed out above (I do not know what name to look for). And, not knowing what to input to create what I am looking for, I would not know what to enter in the Options, to draw a combination straight line\curves image.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
Ok, I have looked at every one of the listed fiddles. The two images that I would like to see the code for… are not there. I see examples using CubicTo, ArcTo, ClipRect, but nothing that I can understand (because of everything else that is taking place in that code). I need something simple (as I am hoping that the code for those two images would be). Is that code available somewhere?
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
I will try to find a GIS, Geo, etc., type of forum, to see if there is an existing math formula to convert the survey curve information, to what Skia\SkiaSharp is requiring. I appreciate the effort that you have put into this.
Sent from Mail for Windows 10
From: 'Cary Clark' via skia-discuss
Sent: Wednesday, March 22, 2017 12:13 PM
To: skia-d...@googlegroups.com
Subject: Re: Trying to understand Skia arc\curve
The closest match in Skia is arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
Hal, I do appreciate your input, but I cannot use that information as of yet. I need to get a formula (and understand it), to convert the curve information on the survey, to what the srcTo function is expecting.
From: 'Hal Canary' via skia-discuss
Sent: Wednesday, March 22, 2017 12:30 PM
To: skia-discuss
Subject: Re: Trying to understand Skia arc\curve
Sounds like you want a lesson on these graphics primitives used by SkPath. Take a look at
On Wed, Mar 22, 2017 at 8:53 AM, <louels...@gmail.com> wrote:
Ok, I have looked at every one of the listed fiddles. The two images that I would like to see the code for… are not there. I see examples using CubicTo, ArcTo, ClipRect, but nothing that I can understand (because of everything else that is taking place in that code). I need something simple (as I am hoping that the code for those two images would be). Is that code available somewhere?
On Thursday, March 16, 2017 at 11:21:46 AM UTC-4, louels...@gmail.com wrote:I am currently using Xamarin Forms, PLC, and am using SkiSharp. I use Drawpath with no difficulty, but that is just using straight lines. I need to add curves to the drawing. I can find no examples of doing this, and, do not understand exactly what the calls are looking for. I have already posted on the Xamarin forum, (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest). I am posing here because SkiaSharp is based on Skia, and am hoping that someone here can help me on my way. Thanks.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
I am currently using Xamarin Forms, PLC, and am using SkiSharp. I use Drawpath with no difficulty, but that is just using straight lines. I need to add curves to the drawing. I can find no examples of doing this, and, do not understand exactly what the calls are looking for. I have already posted on the Xamarin forum, (https://forums.xamarin.com/discussion/90526/how-to-add-survey-curve-info-to-my-drawpath-image#latest). I am posing here because SkiaSharp is based on Skia, and am hoping that someone here can help me on my way. Thanks.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
I do appreciate the time that you have spent on this, but I am not a math type. I do not know how to use the curve information provide on the survey, in the formula that you have provided…and that is why it has taken me so long to reply.
Sent from Mail for Windows 10
From: 'Hal Canary' via skia-discuss
Sent: Wednesday, March 22, 2017 1:23 PM
To: skia-discuss
Subject: Re: Trying to understand Skia arc\curve
D'oh!
--
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
[...] And I don't know which center you want.
Not sure. If I were to go by this “In land navigation, a bearing is ordinarily calculated in a clockwise direction starting from a reference direction of 0° and increasing to 359.9 degrees.”, from https://en.wikipedia.org/wiki/Bearing_(navigation)...I would say clockwise.
Sent from Mail for Windows 10
From: 'Hal Canary' via skia-discuss
Sent: Tuesday, March 28, 2017 11:04 AM
To: skia-discuss
Subject: Re: Trying to understand Skia arc\curve
On Wed, Mar 22, 2017 at 1:11 PM, Hal Canary <halc...@google.com> wrote:
[...] And I don't know which center you want.
Do you know that the arcs are always specified clockwise or counterclockwise with respect to the chord bearing? If so, that would pin down the center.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
Where did I get lost? Lets start with I do not know how to use what is shown in the survey curve information, to fit into your formula. Starting, ending…are these points from the non curve lines? From the curve info on the survey, which info would I used for a,b,c,d, etc.? This formula stuff (converting what is in the curve information, to what the Skia call is looking for…is all Greek to me. It is not that I want you to do my work for me, it is just that I do not know how to do this particular stuff.
--
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/fUSKpIy-wVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.