This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Scaling/Clipping issue


Scaling/Clipping issue

Postby BurningScrappy » Mar 13, 2003 @ 10:49am

Working on the particle engine for next Monoso release. Ran into a bit of a problem, so lets see if anyone has a solution.

My emitters can have a given expansion rate E that can be used to scale the image, the problem I'm running into is that once the image is scaled the destination rectangle doesn't neccessarily contain the fully scaled image. There a quick fix to that.

Also this brings up another point, will GD implement screen clipping at the render level, so lazy programmers like me don't have to?

^_^ CHeers from scraps

Monoso Software
monoso@cox.net
BurningScrappy
pm Member
 
Posts: 37
Joined: Sep 28, 2002 @ 1:23am
Location: USA


Postby ruis » Mar 29, 2003 @ 4:07am

no clipping is provided by GD. If you bli outside the target surface, nothing will appear. don't know what you mean with the scaling.

peace
User avatar
ruis
pm Member
 
Posts: 41
Joined: Nov 3, 2002 @ 5:00pm
Location: Sweden


Postby ppcStudios » Mar 29, 2003 @ 6:44am

G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Postby Guest » Mar 30, 2003 @ 5:51am

Guest
 


Postby Guest » Mar 30, 2003 @ 5:52am

Guest
 


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

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