Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [Tutorials] Pictures/Images
Index -> Programming, Turing -> Turing Tutorials
Goto page Previous  1, 2, 3, 4, 5  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tony




PostPosted: Wed Mar 05, 2003 8:57 pm   Post subject: (No subject)

canada is a large North American nation located between Greenland and Alaska, most of which is above sea-level. Its the place where bombs will land once US anti-missile defence initiative takes place.

We dont have any candy, but I can offer you some sweets if you'd like Wink

Alright... in case some smartass will start lecturing me on proper use of english and difference between its variations, I'll admit that we dont have any sweets ether... British do Confused But we do import candy from US so feel free to treat yourself Wink
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
Vicous




PostPosted: Thu Mar 06, 2003 7:49 pm   Post subject: Im canadian too!

I'm canadian too, I was just joking as he posted that the "candian" (notice Candian, not Canadian) spelling of colour works too.

mmmmmmmmmm, candy
Tony




PostPosted: Thu Mar 06, 2003 8:12 pm   Post subject: (No subject)

this is getting way off topic, but hey, what can I do?

if you start talking to dan, you can soon figure that he doesnt need to encript any of his documents cuz noone would be able to read them anyway Wink
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Dan




PostPosted: Thu Mar 06, 2003 9:48 pm   Post subject: (No subject)

hell ya, and thats the way i like it (cuts down on cost of enrption software). also stops poleop form using find on my computer to find any of my docments Wink .
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
haujobb




PostPosted: Mon Mar 24, 2003 9:39 pm   Post subject: (No subject)

I'm having trouble with these commands I'm using:

var title : int := Pic.FileNew ("a:\title.pcx")

and:

Pic.Draw (title, 300, 300, 0)

and I get the error:

Illegal pic identifier

Does anyone know what that means, and can poeple hurry, I don't mean to be demanding but I'm on a tight schedule and I can't do much more until this damn thing works...
Tony




PostPosted: Mon Mar 24, 2003 9:44 pm   Post subject: (No subject)

well although Dan said that file type is supported, I've never seem it before so I sujest using something we KNOW works. .bmp and .jpeg

or maybe it just cant find the file since its on an a:\ drive? such as floppy is missing... (why would you put image file on a floppy!?).

Illigal pic ID basically means you didnt load the file.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Delta




PostPosted: Tue Mar 25, 2003 2:35 pm   Post subject: PCX hahahaha...(cough)

I remember PCX files but that was back in the day when I downloaded the DOS version of Turing. But you're a lot better off just sticking to BMP and JPG files.
¿§¥Jåmës¥§¿




PostPosted: Sat Aug 23, 2003 7:24 pm   Post subject: (No subject)

How do you make the pic fill the whole screen like a back ground?









Canada rocks!!!!!! Very Happy
Sponsor
Sponsor
Sponsor
sponsor
krishon




PostPosted: Sat Aug 23, 2003 9:29 pm   Post subject: (No subject)

i think it should be in the help files...i dunno...haven't touched turing in a while...and i mean a while, lol...its been all c++
¿§¥Jåmës¥§¿




PostPosted: Sun Aug 24, 2003 10:26 am   Post subject: (No subject)

It just might be somewhere in the help files but I have no clue how to find ot can someone please help!!! Sad Question
Tony




PostPosted: Sun Aug 24, 2003 7:27 pm   Post subject: (No subject)

code:

for y:1..maxy step pic.height(picID)
   for x:1..maxx step pic.width(picID)
   pic.draw(picID,x,y)
end for
end for


something like above.. standart grid filling algorithm.

Note: not actual turing code, might need to use proper syntax instead
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
AsianSensation




PostPosted: Sun Aug 24, 2003 9:39 pm   Post subject: (No subject)

¿§¥Jåmës¥§¿ wrote:
How do you make the pic fill the whole screen like a back ground?


Pic.Scale can do that.

newpicID := Pic.Scale (picID, maxx, maxy)

that would stretch a picture to fill the entire run window.

or ...

You can customize the picture before hand. Like use some editing tools, like Paint Shop Pro, and edit it, and then call up the image.
¿§¥Jåmës¥§¿




PostPosted: Sun Aug 24, 2003 9:44 pm   Post subject: thanx

Thanx alot that'll really help Very Happy
air_force91




PostPosted: Sun Jan 04, 2004 12:11 pm   Post subject: i can't view the pic

u know how i need to enter (mypic, maxx div 2, maxy div 2, 0)

well...the "0" at the end's creating a problem...this is what im getting: Illegal picture ID '0'. (Probable cause: Picture was not successfully created)...
Tony




PostPosted: Sun Jan 04, 2004 7:21 pm   Post subject: (No subject)

no... the 0 is the value of picCopy mode.

the problem is your picture ID, which is "mypic" variable
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 5  [ 72 Posts ]
Goto page Previous  1, 2, 3, 4, 5  Next
Jump to:   


Style:  
Search: