Search Tools Links Login

Linear transforms


Visual Basic 6, or VB Classic

Linear Transforms by Robert Rayment. This is maybe 'old hat' to some of you. It shows in pure VB, apart from loading bitmaps & set & get pixels, how to map a rectangular bitmap area onto a non-reeentrant quadrilateral, a circle, cylinder, right-circular cone and a sphere. I've stopped short of automating the shapes and saving the transfoms so you need to change the parameters in the code to get variations. Hopefully the comments are sufficient for you to do with it as you wish! Zip file 145KB (With some bitmaps).

Original Author: Robert Rayment

Assumptions

Just run code

Returns

Pictures

API Declarations

StretchBits
Get & Set pixels

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 85 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD171423162001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 148,312 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.