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

Translate image in GapiDraw.Net


Translate image in GapiDraw.Net

Postby RonP » Sep 17, 2004 @ 10:11am

RonP
 


Postby Mr X » Sep 20, 2004 @ 1:22am

There is an overloaded version of Blt that takes a GDRect destRect param.

To change the rotation centre, use the BltOptions.GDBLT_ROTATIONCENTER flag, and set the cetnre point in the GDBLTFX structure.

BLtFast is faster, but supports fewer options (such as rotation and scaling). You should use BltFast whenever possible.

Take a look at the GD help at http://www.gapidraw.com/docs/gapidraw/301/index.html

It is for c++ but gd.net is basically the same except for name changes (CGapiSurface == GApiSurface etc)
Sean Cross
mailto:sean@sourceitsoftware.com

Pics Print - The photo printing solution for Windows.
http://www.picsprint.com

Rental Property Manager - Rental management made easy
http://www.sourceitsoftware.com
User avatar
Mr X
pm Member
 
Posts: 240
Joined: Feb 27, 2003 @ 11:36am


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