Post Reply 
Rotate Text Help!
11-02-2016, 04:12 PM (This post was last modified: 11-04-2016 02:20 PM by Chasfield.)
Post: #4
RE: Rotate Text Help!
I think Eried's approach is the best you will get - generate the pixels with the available TEXTOUT_P command then rotate the pixel field on screen.

A wackier option would be to build text characters out of LINE_P statements - making a sort of vector font. Tedious, but you can get there in the end.

Attached, as an example, is a circular, on-screen slide rule I coded in Borland Delphi many years ago using this approach.

I defined blocky but serviceable numeric characters using Delphi line drawing statements. I seem to remember that rotating these vector elements to animate the rule and its scales then wasn't too difficult.

NB, I think the slide rule runs fine on newer versions of Windows but the window might be sizeable, even though it was defined to be of fixed size in Delphi. This spoils the show a bit. Anyway, It runs as designed on my Linux/Wine set-up.


Attached File(s)
.zip  SlideR.zip (Size: 103.4 KB / Downloads: 9)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Rotate Text Help! - Spybot - 10-31-2016, 05:50 AM
RE: Rotate Text Help! - eried - 10-31-2016, 05:33 PM
RE: Rotate Text Help! - Spybot - 11-01-2016, 06:43 AM
RE: Rotate Text Help! - Chasfield - 11-02-2016 04:12 PM



User(s) browsing this thread: 1 Guest(s)