Search found 9 matches

by zhangyi
20 Sep 2021, 15:40
Forum: General Discussion
Replies: 3
Views: 1797

Re: ImageBrush works Abnormally in Noesis 3.1.1

What should I do if I want the border part of the following picture?

And it should meets:
1. The base tile preserves original size.
2. The area that ImageBrush fills is not always rect, it is irregular sometimes
3.0.12_res.PNG
3.0.12_res.PNG (186.7 KiB) Viewed 1695 times
by zhangyi
18 Sep 2021, 10:20
Forum: General Discussion
Replies: 3
Views: 1797

ImageBrush works Abnormally in Noesis 3.1.1

ImageBrush does not work normally in Noesis 3.1.1,but works well in Noessis 3.0.12. I give the following code in the Gallery demo,and it works differently in Noesis 3.1.1 and Noesis 3.0.12 <Rectangle Width="900" Height="600" Stroke="Black" StrokeThickness="1">...
by zhangyi
05 Feb 2017, 08:17
Forum: General Discussion
Replies: 3
Views: 1674

Re: How to measure the width of a fonts character in Noesis1

Thanks for your reply! ActualWidth is always same to Width for TextBlock in my case. Actually, I want to measure the length of TextBlock according to uncertain text, to fit the content of text tightly. NsString text = "abcde"; // it is uncertain; TextBlockPtr block = *new TextBlock(); bloc...
by zhangyi
28 Jan 2017, 10:57
Forum: General Discussion
Replies: 3
Views: 1674

How to measure the width of a fonts character in Noesis1.3

Hi everyone: I want to measure the width of TextBlock with specifying font. By the way, i am using noesis 1.3 beta4 in windows(native c++) and ios platform. And i have found the topic http://www.noesisengine.com/forums/viewtopic.php?f=3&t=295&p=1460&hilit=Font#p1460 . However, it does no...
by zhangyi
18 Jul 2016, 10:15
Forum: General Discussion
Replies: 9
Views: 3688

Re: Is there a iOS demo available?

Thanks for your help! I followed your suggestions as bellow: 1. I disabled RTTI. 2. I changed the signature of the function OnClickedButton. 3. I set the third param of TouchDown to 0. 4. I considered the contentsScale of self.view And it can be linked successfully, :D However, there are still two q...
by zhangyi
18 Jul 2016, 04:26
Forum: General Discussion
Replies: 9
Views: 3688

Re: Is there a iOS demo available?

Thanks for your suggestions! I make some change in Integration Sample for testing, the following are code pieces ViewController.mm - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [touches anyObject]; CGPoint p = [touch locationInView:self.view]; widget->_xamlRender...
by zhangyi
14 Jul 2016, 04:54
Forum: General Discussion
Replies: 9
Views: 3688

Re: Is there a iOS demo available?

We have not received any email yet. I guess it 's a email problem, and I have resent it with another email addr: ************************ We will upgrade the integration sample accordingly. Can you give me a rough schedule about the new integration sample? By the way, I want to know whether noesisg...
by zhangyi
12 Jul 2016, 11:46
Forum: General Discussion
Replies: 9
Views: 3688

Re: Is there a iOS demo available?

Thanks for your reply! I have sent a email to info@noesisengine.com to request a newest trial version of noesisgui. I have tried to study the iOS integration sample, and i find nothing about event handling, such as touch response and register event. Does this sample include the part of event handlin...
by zhangyi
11 Jul 2016, 10:16
Forum: General Discussion
Replies: 9
Views: 3688

Is there a iOS demo available?

Hi all: I am trying to use noesis-gui in my project, that is an ogre project in iOS platform. I can't find a available demo or sample for iOS platform , other than some code piece in noesis tutorial. So is there anyone to give me a suggestion or to send me a demo? Any idea is welcome! By the way, my...