Search found 23 matches

by mariorancic
04 Jan 2022, 21:30
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

I finally found solution, actually , one friend helped me. The trick was to do this on button click or in ViewModel: UIApplication.SharedApplication.KeyWindow.RootViewController.PresentViewController(viewController, true, null); This way Noesis stuff stays in background and Xamarin.IOS stuffs are on...
by mariorancic
04 Jan 2022, 14:51
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

There is also other approach to the problem and is to show the camera from Swift code, but the question is how to call native Swift function from Noesis c# code and is it possible .
by mariorancic
03 Jan 2022, 22:58
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

Thx Jesus. Does maybe playing with this component be good direction:
https://github.com/xamarin/XamarinCompo ... S/GPUImage
by mariorancic
03 Jan 2022, 15:49
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

I have a problem to render the camera. In Xamarin.IOS the camera has to be rendered to UIImageView object. The whole idea I grabbed from here: https://docs.microsoft.com/en-us/xamarin/ios/user-interface/controls/intro-to-manual-camera-controls I am sending below all code that compiles except in the ...
by mariorancic
10 Dec 2021, 23:47
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

Yes it is. Even though you called it minimalistic your UI framework is amazing and I think your approach is best becaue it is platform agnostic and does not depend on native controls. Yes, I wanted to mix NoesisGUI XAML with some other technologies but it seems this will not be possible. But for my ...
by mariorancic
10 Dec 2021, 21:08
Forum: General Discussion
Replies: 4
Views: 1814

Re: RotateTransform to rotate one existing Point around other

I am using NoesisGUI .net SDK and I do not see Transform2 class Anyway, maybe with little help of Microsoft open sourced WPF, maybe I found answer on my own question: Matrix matrix = new Matrix(); matrix.RotateAt(angle, centerX, centerY); p2 = matrix.Transform(p2); Maybe this will work, otherwise i ...
by mariorancic
10 Dec 2021, 20:39
Forum: General Discussion
Replies: 4
Views: 1814

RotateTransform to rotate one existing Point around other

I am trying to rotate one existing point around the other and in WPF it is possible with method Transform of RotateTransform class and for example I can do this: RotateTransform rotation = new RotateTransform(); rotation.Angle = 45; rotation.CenterX = p1.X; rotation.CenterY = p1.Y; p2 = rotation.Tra...
by mariorancic
10 Dec 2021, 14:54
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

I know that, that is exactly my problem. The rendering and reusability and performance in NoesisGUI is superior to any other cross platform, my problem is how to integrate it with some other logic. I saw integration examples with c++, but how it works with with NoesisGUI .net SDK. Can I directly fro...
by mariorancic
10 Dec 2021, 10:43
Forum: General Discussion
Replies: 13
Views: 5990

Re: barcode scanner

What exactly I want to do is to show the drawing of the armature bending and because I did it in WPF my idea was to show it with the help of NoesisGUI after barcode scanning on the phone. And I can show the drawing with NoesisGUI with almost no code change from WPF. But from what I understood from y...