📄 idirectfbsurface_getsubsurface.html
字号:
<HTML><STYLE> <!-- A{textdecoration:none} --></STYLE><STYLE type="text/css"> A:link, A:visited, A:active { text-decoration: none; }</STYLE><HEAD> <TITLE>IDirectFBSurface - GetSubSurface [DirectFB Reference Manual]</TITLE></HEAD><BODY bgcolor=#FFFFFF link=#0070FF vlink=#0070FF text=#404040><TABLE width=100% bgcolor=black border=0 cellspacing=1 cellpadding=3> <TR><TD width=30%> <A href="http://www.directfb.org"><IMG border=0 src="directfb.png"></A> </TD><TD align=right> <A href="index.html"><FONT size=+3 color=white>Reference Manual - 0.9.25</FONT></A> </TD></TR> <TR><TD colspan=2 align=center bgcolor=#303030> <TABLE border=0 cellspacing=0 cellpadding=0> <TR><TD nowrap align=right width=50%> <BIG><A href="IDirectFBSurface.html"><FONT color=#DDDDDD>IDirectFBSurface</FONT></A> </BIG> </TD><TD nowrap align=left width=50%> <BIG><FONT color=orange> GetSubSurface</FONT></BIG> </TD></TR> </TABLE> </TD></TR></TABLE><P> Get an interface to a sub area of this surface.</P><P> <TABLE border=0 cellspacing=0 cellpadding=2 bgcolor=#C0C0C0> <TR><TD colspan=5><I><FONT color=black>GetSubSurface (</FONT></I></TD></TR> <TR><TD width=50> </TD><TD valign=top> <A href="IDirectFBSurface.html">IDirectFBSurface</A> </TD><TD width=20> </TD><TD align=right> <FONT color=black><B>*</B></FONT> </TD><TD valign=top> <FONT color=black><B>thiz,</B></FONT> </TD></TR> <TR><TD width=50> </TD><TD valign=top> const <A href="types.html#DFBRectangle">DFBRectangle</A> </TD><TD width=20> </TD><TD align=right> <FONT color=black><B>*</B></FONT> </TD><TD valign=top> <FONT color=black><B>rect,</B></FONT> </TD></TR> <TR><TD width=50> </TD><TD valign=top> <A href="IDirectFBSurface.html">IDirectFBSurface</A> </TD><TD width=20> </TD><TD align=right> <FONT color=black><B>**</B></FONT> </TD><TD valign=top> <FONT color=black><B>ret_interface</B></FONT> </TD></TR> <TR><TD colspan=3><I><FONT color=black>);</FONT></I></TD></TR> </TABLE></P><P> No image data is duplicated, this is a clipped graphics within the original surface. This is very helpful for lightweight components in a GUI toolkit. The new surface's state (color, drawingflags, etc.) is independent from this one. So it's a handy graphics context. If no rectangle is specified, the whole surface (or a part if this surface is a subsurface itself) is represented by the new one.</P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -