?? sglfont2.f90
字號(hào):
module SGL_UTIL
use SGL
implicit none
contains
subroutine display()
call sglClearColor3i(255,255,255)
call sglClearBuffer()
call sglColor3i(0,0,0)
call sglTextOut(50,50,"大家好")
call sglUpdateBuffer()
end subroutine
end module SGL_UTIL
program main
use SGL_UTIL
implicit none
call sglDisplaySub(display)
call sglCreateWindow(100,100,400,200,1)
call sglUseFont("標(biāo)楷體",50,100)
!call sglUseFont("Time New Roman",50,100)
call sglMainLoop()
stop
end program
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -