Posts: 2,771
Threads: 96
Joined: Oct 2003
Hey Nek, Nice going on the extension! I love it!
I was desperatly in need of a bitmap routine for FB, and i was running out of time... Then i found PTCexl. Good job man! Damn easy to use, useful functions, and easy to follow documentation.
Posts: 3,279
Threads: 170
Joined: Nov 2003
Glad it was of use to someone
I'd knock on wood, but my desk is particle board.
Posts: 121
Threads: 20
Joined: Sep 2004
just a quick question... when I compile a program using PTCXL, the window isn't at the correct size (i.e. the workspace will be set at 640x480 if set as such, but the program window will be different). Hence there is blurring present where the image is anti-aliased. This doesn't happen in the demo provided. what am I doing wrong???
8% of the teenage population smokes or has smoked pot. If you're one of the 2% who hasn't, copy and paste this in your signature.
Posts: 3,279
Threads: 170
Joined: Nov 2003
No clue.

Could you post the code you're using to initialize the library?
I'd knock on wood, but my desk is particle board.
Posts: 121
Threads: 20
Joined: Sep 2004
Code:
'initialisation
const scr_width = 320
const scr_height = 240
'$include: "ptcxl.bi"
'$DYNAMIC
if ptc_init("PTC TEST") <> 1 then system
ptc_clsx 0
ptc_refresh
'main loop
do
for i% = 0 to 10000
z = int(rnd*255)
ptc_pset(int(rnd*320),int(rnd*240),z,z,z)
next i%
ptc_refresh
loop until inkey$ <> ""
PTC_CLOSE
That's the whole program (just a test program really). It doesn't matter what I change the width & height to, the window is always a little out. I'm using XP Pro and vongodric's IDE.
8% of the teenage population smokes or has smoked pot. If you're one of the 2% who hasn't, copy and paste this in your signature.
Posts: 3,279
Threads: 170
Joined: Nov 2003
Does the same thing for me too. Weird.

Might be a problem in the import library though...
I'd knock on wood, but my desk is particle board.
Posts: 306
Threads: 14
Joined: Nov 2002
If you need a break from some productive programming.. I was wondering how much trouble it would be to get sprite arrays a la PP256. Or should I just do that myself?
Posts: 3,279
Threads: 170
Joined: Nov 2003
You could always use Advance.Put...

converts .PUT images to BMP images.
I'd knock on wood, but my desk is particle board.
Posts: 1,774
Threads: 62
Joined: Aug 2003
Quote:If you need a break from some productive programming.. I was wondering how much trouble it would be to get sprite arrays a la PP256. Or should I just do that myself?
See dude, I told you someone would use it.