BBC BASIC for Windows
« GDI+ DrawString Function »

Welcome Guest. Please Login or Register.
Apr 6th, 2018, 12:26am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: GDI+ DrawString Function  (Read 1094 times)
VBI
Guest
xx Re: GDI+ DrawString Function
« Reply #2 on: May 8th, 2014, 3:40pm »

Doh! I'm sure I have that library downloaded already somewhere, but had forgotten it - I'll take a look.

I also think that the "FN_f4", to convert to 4 byte real format, contained within your own GDI library may also be pertinent here.

Thanks, Richard.

Graham.

User IP Logged

rtr
Guest
xx Re: GDI+ DrawString Function
« Reply #3 on: May 8th, 2014, 3:49pm »

on May 8th, 2014, 3:40pm, VBI wrote:
I also think that the "FN_f4", to convert to 4 byte real format, contained within your own GDI library may also be pertinent here.

Yes indeed. Glancing at your code the rectangle definition would need to be:

Code:
      DIM rcf{x%,y%,w%,h%}
      rcf.x% = FN_f4(10.0)
      rcf.y% = FN_f4(10.0)
      rcf.w% = FN_f4(100.0)
      rcf.h% = FN_f4(50.0) 

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls