⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 screendc.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxScreenDC}}\label{wxscreendc}A wxScreenDC can be used to paint on the screen.This should normally be constructed as a temporary stack object; don't storea wxScreenDC object.\wxheading{Derived from}\helpref{wxDC}{wxdc}\wxheading{Include files}<wx/dcscreen.h>\wxheading{See also}\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp\helpref{wxClientDC}{wxclientdc}, \helpref{wxWindowDC}{wxwindowdc}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxScreenDC::wxScreenDC}\label{wxscreendcctor}\func{}{wxScreenDC}{\void}Constructor.\membersection{wxScreenDC::StartDrawingOnTop}\label{wxscreendcstartdrawingontop}\func{bool}{StartDrawingOnTop}{\param{wxWindow*}{ window}}\func{bool}{StartDrawingOnTop}{\param{wxRect*}{ rect = NULL}}Use this in conjunction with \helpref{EndDrawingOnTop}{wxscreendcenddrawingontop} toensure that drawing to the screen occurs on top of existing windows. Without this,some window systems (such as X) only allow drawing to take place underneathother windows.By using the first form of this function, an application is specifying thatthe area that will be drawn on coincides with the given window.By using the second form, an application can specify an area of the screenwhich is to be drawn on. If NULL is passed, the whole screen is available.It is recommended that an area of the screen is specified because with large regions,flickering effects are noticeable when destroying the temporary transparent window usedto implement this feature.You might use this pair of functions when implementing a drag feature, for exampleas in the \helpref{wxSplitterWindow}{wxsplitterwindow} implementation.\wxheading{Remarks}This function is probably obsolete since the X implementationsallow drawing directly on the screen now. However, the fact that thisfunction allows the screen to be refreshed afterwards, may be useful tosome applications.\membersection{wxScreenDC::EndDrawingOnTop}\label{wxscreendcenddrawingontop}\func{bool}{EndDrawingOnTop}{\void}Use this in conjunction with \helpref{StartDrawingOnTop}{wxscreendcstartdrawingontop}.This function destroys the temporary window created to implement on-top drawing (X only).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -