Hello I am trying to develop multiplatform application and I want to render shapes on my map.
I am able to render png files and etc, but is it possible to draw custom shapes created programatically?
I followed this example XFGoogleMapSample, but I am not able to create with PCL project.
Can you please help me?
It is possible to draw lines (polylines) and shapes (polygons and circles), which can be drawn programmatically and interactive.
Take a look at this example which demonstrates the API.
Related
In my Windows Store application, I'm looking a way to draw a circle (white) and then create a small arc (aqua) to make a dynamic arc rotating through the circle . Look at the picture: http://i.stack.imgur.com/Sxqif.png
I started reading about Direct2D, but maybe that technology is too much for only this. I really feel at this situation to replicate this design in my application.
What do you recommend or how could you show an example for getting stated? To create the circle and rotate the arc through the circle
You can use XAML to do this. For this you need to use this to create the two "circles", the outer and the inner one. Then you can use this to let the inner circle/Ellipse spin arround using a Storyboard. You cannot use this code 1:1 because there are small differences between WPF XAML and Win8 XAML, but you should be able to use this in your project.
I am trying to create a Web Part for Share Point in C# which displays images in a slide show style sliding from right to left. I know there are Web Parts you can download but i need to write my own. I need to know how to either draw to some graphics context or have a way of updating an image using a timer and changing its ImageURL. This is among several Web Parts I will be making so the question does not simply apply to sliding images but drawing in general. Thanks
I'm trying to design a chatting app, I want the sender/receiver's text to be shown inside these text balloons that's in the native messages app in WP7.
I can put each conversation in a textblock and color it like the current used theme, but still it won't have the pointy thing of the balloon here:
So how can I implement this to my app?
Check out these links:
http://www.scottlogic.co.uk/blog/colin/2011/07/a-wp7-conversation-view/
http://shawnoster.com/blog/post/Recreating-the-Windows-Phone-7-message-e2809cbubblee2809d-style-in-Silverlight.aspx
They should have all you need to get started.
Read up on Shapes and Basic Drawing.
What you want to do , is to define two shapes (one being a mirror of the other), with the "triangle" popping out as part of the polygon.
I'll recommend a tool like Expression Design or Expression Blend for creating the polygon.
I'm using ZedGraph for my 2D graphing needs, but for a project, I need something that does 3d graphing. What is the best package I can use for this? I'd like the Graph Panes to be as easy to manipulate as with ZedGraph.
Edit: By 3D, I mean I want to be able to specify an x,y,z to get a surface. Thanks!
Using the source code that can be found in the link posted just below as well as WPF you can create a pretty good 3d graph, it's nothing groundbreaking but it might suit your needs:
3D Bar Chart
In principle you can create a bitmap using MathGL and display it. MathGL is cross-platform GPL (LGPL for core) plotting library which can plot 2- and 3-ranged data. However, I'm not sure what you can use C++ classes from C#. But C-interface should work.
I want to make an application that is similar to the World of warcraft launcher.
My main concern is to not have a square windows form with the typical close buttons, but a custom shape. How can I achieve this with C# and the .NET framework?
Here's a tutorial on Creating Irregular Non-Rectangle Windows using WPF.
Consider this tutorial for creating Shaped Windows in WPF. It's got sample code in C#.
There's a great piece of source code at http://www.codeproject.com/KB/GDI-plus/CsTranspTutorial3.aspx that allows you to make a form based off of any image with an alpha channel (like a .png), so that the transparent parts of the image correspond to places where you see through the form.