Slick Forums

Discuss the Slick 2D Library
It is currently Mon Oct 15, 2018 3:22 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Sep 24, 2015 5:35 pm 
Offline

Joined: Thu Sep 24, 2015 5:27 pm
Posts: 4
Hello Folks!

I searched it, but didn't find anything, so I ask myself:
How can I render only a part of a Image WITHOUT SCALING it.
I tried the Image.draw(float x, float y, float srcx, float srcy, float srcx2, float srcy2) method,
and it actually does draw only a part of the image (e.g. the left half), but, it streches it to the full sizw of the image.

Could anyone please help?
It would help me a lot, thanks!

Greets, r


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group