English
Source / code snippets

Font Turnhallentafel

 

Source watts on the 15.07.2007 from the MMJ-Quellcodesammlung (Dietmar horn) in The Babyklappe on XProfan.Com stored:
Font: Turnhallentafel
(C)2007 Nico Madysa
http://sites.XProfan.com(nico-madysa
declare letter&[25],i%
letter&[00] = %11000011
11111111
11000011
01111110
letter&[01] = %10111111
01111011
10110111
01111111
letter&[02] = %10111110
00000011
00000011
01111110
letter&[03] = %10111111
11000011
11000011
01111111
letter&[04] = %11111100
00011100
00011100
11111100
letter&[05] = %00001100
00111100
00001100
11111100
letter&[06] = %11111110
11000111
00001011
01111110
letter&[07] = %11000011
11111111
11000011
11000011
letter&[08] = %00110000
00110000
00110000
00110000
letter&[09] = %00001010
00001100
00001100
00001100
letter&[10] = %10101100
01111100
10111100
01101100
letter&[11] = %11111100
00001100
00001100
00001100
letter&[12] = %11000011
11011011
11111111
11100111
letter&[13] = %11100011
11111011
11011111
11000111
letter&[14] = %10111110
11000011
11000011
01111110
letter&[15] = %00001100
00011100
10001100
01111100
letter&[16] = %11111110
11100011
11000011
01111110
letter&[17] = %10101100
01111100
10001100
01111100
letter&[18] = %10111110
01111000
00011110
00111100
letter&[19] = %00111100
00111100
00111100
11111111
letter&[20] = %10111110
11000011
11000011
11000011
letter&[21] = %10111110
11100111
11000011
11000011
letter&[22] = %10101010
11111111
11010111
11000011
letter&[23] = %10101010
01111110
10111110
01100110
letter&[24] = %00111100
00111100
10111110
01100110
letter&[25] = %11111111
00011110
10110100
11111111

proc DrawTrigon

    parameters nr% , there%
    oGL(Origin,x!,y!,-6)
    oGL(Color,1,1,0,if(there%,1,0.7))

    if ((nr% - 1)  8 ) mod 2

        oGL(Rotate,0,0,90)

    endif

    Select nr% mod 4

        Caseof 1

        oGL(Rotate,0,0,45)

        Caseof 2

        oGL(Rotate,0,0,225)

        Caseof 3

        oGL(Rotate,0,0,135)

        Caseof 0

        oGL(Rotate,0,0,315)

    EndSelect

    oGL(Triangle,0.5,0.25)

endproc

proc DrawScene

    declare x! , y!
    oGL(Clear)
    oGL(Origin,0,-2,-6)
    oGL(Color,0,0,0,1)
    oGL(Quad,4,4)
    x! = -2 - Sqrt8! / 2 + 0.1
    y! =  2 - Sqrt8! / 2 - 0.1

    whileloop 32

        case (&loop mod 2) : x! = x! + Sqrt8!
        DrawTrigon &loop , TestBit(tatt&,&loop - 1)

        ifnot &loop mod 8

            x! = -2 - Sqrt8! / 2 + 0.1
            y! = y! - Sqrt8!

        endif

    EndWhile

    oGL(Show)

endproc

proc end

    oGL(Done)
    end

endproc

declare tatt& , buchst%
var sqrt8! = Sqrt(1 / 8)
cls
oGL(Init,%hWnd,1,1,1,1)
oGL(BlendMode,1)

repeat

    buchst% = Ord(Upper $(Left$(Input$(give tappt im dunkeln a letters one,letters-electoral,A),1))) - 65
    i% = Set(ErrorLevel,-1)
    tatt& = letter&[buchst%]
    DrawScene
    Set(ErrorLevel,i%)
    WaitInput

until (buchst% < 0) or (buchst% > 25) or IsKey(27)

end
 
07/16/07  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.706 Views

Untitledvor 0 min.
Frank04/16/21
Michael Borowiak11/17/14
RudiB.02/08/13
Klaus Ernst03/07/11
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie