I forgot to mention that DRAWSIZE is read-only. To set the size with
BORDER=Yes, just add +2 in RASTERSIZE and you will get the client size you
want.

Best,
Scuri


On Mon, Dec 1, 2014 at 4:55 PM, Victor Bombi <[email protected]> wrote:

>  setting BORDER="NO" and RASTERSIZE is working for getting the correct
> clientsize (I forgot to say I am on iup 3.9 now)
>
> ----- Original Message -----
> *From:* Victor Bombi <[email protected]>
> *To:* IUP discussion list. <[email protected]>
> *Sent:* Monday, December 01, 2014 7:45 PM
> *Subject:* Re: [Iup-users] IupGLCanvas rastersize
>
> setting DRAWSIZE instead of RASTERSIZE is not working for me. I get a tiny
> glcanvas!!
>
> ----- Original Message -----
> *From:* Antonio Scuri <[email protected]>
> *To:* IUP discussion list. <[email protected]>
> *Sent:* Monday, December 01, 2014 5:29 PM
> *Subject:* Re: [Iup-users] IupGLCanvas rastersize
>
>   The IupCanvas (and so the IupGLCanvas has a 1 pixel border by default.
> See the IupCanvas BORDER attribute documentation.
>
>   Instead of using RASTERSIZE, you can use DRAWSIZE, or the resize_cb
> parameters.
>
> Best,
> Scuri
>
>
> On Mon, Dec 1, 2014 at 2:20 PM, Victor Bombi <[email protected]>
> wrote:
>
>> Hello,
>>
>> I am using rastersize on IupGLCanvas to set the desired viewport pixels,
>> but
>> the final dimensions are slightly smaller (resize_cb tells me that)
>> Is there something to be done?
>>
>> Thanks
>> victor bombi
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>  ------------------------------
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
> ------------------------------
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>  ------------------------------
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
> ------------------------------
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to