I am trying to develop app which has drawing bitmap and saving it into file. I am using https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/bitmaps/saving skiasharp example.
In iOS this works fine but for android its not the smooth and the curves are drawn in straight line.
Earlier I was opening the drawing page in shell but was facing issue with drawing after so I changed it to app mainpage.
I am now able to draw on android. But the drawing in not smooth and all curved edges comes in straight lines.
Can someone help?
You can use this.
Signature Pad Xamarin.Forms Saving signature as a file
This is better solution for capturing signature and storing into file.
Related
I am attempting to use osgEarth in a Qt (5.12) application on Windows, and I am having some trouble with it showing lines - as in, they are simply not showing up.
Following some of the instructions to build osg, osgQt, and osgEarth here on Stack Overflow, I managed to get everything to build and run.
If I run the osgearth_windows with the annotation.earth file, it runs fine, and I see some shapes with borders, and a few lines on the globe.
If I run with my osgQt app, I see the shapes and labels, but no borders on shapes or separate lines.
I'm curious if anyone has experienced this previously, and if there are some settings I should be doing with Qt that will resolve this issue.
Similarly, if I try some of built osgEarth sample programs, such as the osgearth_features.exe, I will see the globe and yellow borders around every country. If I follow the code in there, (the way it creates a Map, then loads the basemap, then the FeatureSoureLayer, etc), I can see the globe, and labels in my Qt app, but still no lines.
Again, I have also had another at another Stack Overflow question (How to add osgEarth Features at runtime?) and tried the solution of adding a PolygonSymbol to the Map. I can see the green triangle, but do not see the border on it.
Any help would be greatly appreciated!
Make sure you are calling this:
#include <osgEarth/GLUtils>
...
GLUtils::setGlobalDefaults(camera->getOrCreateStateSet());
Where camera is the camera in the main view, or another node at the top of the scene graph.
The shader that renders lines needs some default uniform values to be initialized. This code does that.
I am working on a project using paper.js (0.11.8) and I am trying to move a single Path.Line using the provided translate() method. Although the line is moved on the canvas as expected, its segments (e.g. firstSegment.point) are not updated whereas the position is set correctly. Is this a bug or a feature? ;)
Thanks
I'm working on a Daydream app using the Google VR SDK/NDK. To submit the app to Google Play, I need a 360-degree stereo photosphere. I've seen directions for creating this with Unity, but is there any way to create this without Unity?
I've taken a screenshot of the app in stereo mode, but I don't think that will satisfy the requirement.
Google doesn't provide any tools to capture in-app photospheres in non-Unity apps at this time. Some devs produce photospheres in modeling apps like Maya and Blender.
You could always cheat and make your "Daydream 360 degree stereoscopic image" in Photoshop. Just use the same image twice, once on top and once on the bottom.
I think others have already done this, because I have noticed a few wrong looking previews in the store. Where if I close one eye, parts of the image disappear.
If you change your mind and make one with Unity, this plugin worked nicely for me: https://www.assetstore.unity3d.com/en/#!/content/38755
We're trying to create a tvOS application icon for our new tvOS application. We've downloaded the necessary extensions and the example .psd. We've tried to generate a preview using the plugin but it keeps saying it's missing a background layer.
I've added the layer, named it background, and locked it, but the same error keeps popping up.
I haven't used the photoshop plugin, but what it probably means is that at least one layer has to be the right size (e.g. 400x240) and has to be opaque.
Also, for what it is worth, you don't need to create a separate layered image unless the layers are of a different size. You can just drag the individual layers directly into the assets.
As you know, Google Maps Drawing Library is easy to implement, but it gives very little control to the developer.
(Here is a sample of the library at use http://gmaps-samples-v3.googlecode.com/svn/trunk/drawing/drawing-tools.html )
I would like to change the default settings of drawing polygons in two ways:
first, I'd like to use another icon for the nodes connecting lines instead of the small square icon
second, I like to increase the clickable area around the initial node.
Do you know if it's possible to do these changes to the drawing library?
I appreciate your help.
It is not possible with the existing drawing manager functionality. Please go through the following issue in Google maps api issues
http://code.google.com/p/gmaps-api-issues/issues/detail?can=2&start=0&num=100&q=drawing%20library&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Stars%20ApiType%20Internal&groupby=&sort=&id=3760