Search found 7 matches

by zhangyi
05 Feb 2017, 08:17
Forum: General Discussion
Replies: 3
Views: 1382

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(); block->SetText...
by zhangyi
28 Jan 2017, 10:57
Forum: General Discussion
Replies: 3
Views: 1382

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 not work now. ...
by zhangyi
18 Jul 2016, 10:15
Forum: General Discussion
Replies: 9
Views: 3182

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: 3182

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: 3182

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: 3182

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: 3182

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...