English
Forum

opengl: Proportionalität from HWND affects unfortunately on Pos.

 
with this View source - where the hwnd 640 x 480 Pixel big is positioniert itself the oglText very supra left
CompileMarkSeparation
windowstyle 80
window 0,0 - 640,480
casenot ogl("init",%hwnd,0,0,0,1) : error("Cant init OpenGL.")
var gdifnt&=create("Font","Arial",20,0,0,0,0)
var oglfnt&=ogl("OUTLINEFONT",gdifnt&,0.25)
ogl("Clear")
ogl("Origin",0,0,-10)
ogl("move",-5.5,3.4,0)
ogl("PRINT",oglfnt&,"TEXT")
ogl("show")
waitinput
ogl("done")
end

proc error

    parameters s$,
    messagebox s$,"",0
    end

endproc


If now from window 0,0 - 640,480 z.B. window 0,0 - 640,400 made becomes then is the Text to right insane - what too logical is - but how can one it without eigenst-errechnetem Korrekturfaktor (what unnecessary Time per cost) prevent? I remember namely on a Time as itself the OGL-Window not The Own Proportionalität achtete and itself simply skalierte. someone ne idea How I this effect again herbringen can?
 
11/26/06  
 



 
11/26/06  
 



Übersehe I only what Profanes or is the Question stupid set? Hey this is important!
 
11/27/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

568 Views

Untitledvor 0 min.
H.Brill10/29/23
Sven Bader07/12/21

Themeninformationen

this Topic has 1 subscriber:

iF (3x)


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