Any Suggestions or guidance will Help. How to create a drawing canvas in a windows phone Application.
Like the pencil tool in Paint. is it possible. A logical Expression will also Help.
See i Cant code the entire thing But here's a link that might help Go through it carefully.
Drawing on canvas windows phone
Let me know if any confusion
Related
I create images from online at picresize.com to use as application bar icons. I made them 48 x 48. The only thing I didn't do was make the background transparent. Now the icons just show as white blocks and nothing else. This page, http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff431806(v=vs.105).aspx, specifies what should be done but doesn't say a must. Any thoughts or experiences in this happening to others?
appBarButton =
new ApplicationBarIconButton(new Uri("/Assets/AppBar/<my_button>.png", UriKind.Relative));
appBarButton.Text = "<text>";
appBarButton.Click += appBarButton_Click;
ApplicationBar.Buttons.Add(appBarButton);
The transparent background is a must.
Instead of using that picresize.com web service, you should probably learn to use Photoshop, Paint.Net, or any other descent image editor that works on your computer not on someone else's computer.
I want to have an animation to show how an"8" is drawn in Windows Phone app, inside xaml / expression blend, what would be the best approach to do this, the only way I can think of is making a few pictures of the "8" at different stages, and inside expression blend create a storyboard, and add a new picture of the "8" every few seconds.
Any tips on a better approach or tutorial would help a lot,
thanx
You might want to take a look at this reply:
How to draw an arc in winRT with animation?
The question says WinRT, but its the same for WP
Too many images to re-do the reply here :)
I am just want to draw a rectangle in windows phone canvas. I have tried some technique but each time i have failed to accomplish my job. i want to draw this rectangle and use just like in the paint application of the windows in desktop version.
There are two examples for you, you can download it from the below links.
Sample Project 1
Sample Project
Notice this app:
How can I draw that sort of triangle above an existing NSWindow? I know the app in question probably draws the whole thing as a custom window, but I want to keep the existing title bar. Is there any way to draw a triangle and attach it above a NSWindow? Please note that the solution has to be MAS-compatible (i.e. no private frameworks or classes).
The only way to do this would be to create a borderless child window with no shadow that overlays the edge of the existing window. You'd need to draw any shadow yourself.
A more comprehensive solution would involve subclassing NSThemeFrame and doing some custom drawing. Take a look at Matt Gallagher's Drawing a custom window on Mac OS X. It contains a wealth of helpful information, and Google will also be of great help here.
I've written an open source (BSD) framework that draws windows similar to this: https://github.com/sbooth/SFBPopovers
It won't directly do what you need but will illustrate the basics of drawing custom window frames.
I am a new Mac developer and I have started to learn Cocoa. In my sample application I want to add a background image to my NSToolbar as a theme for my application and I want that image to be the full size of the toolbar. But i have checked and didn't get a solution. I want to know if it is really a possible thing.
Thanks and regards,
Mac 66
There is no public API to do this. You would need to do some "evil" things with private API or create your own toolbar mechanism. If you don't need things like item overflow, user customization, etc. then it might be easier/cleaner just to use standard buttons in the top margin of the window.