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

📄 types.html

📁 DirectFB的使用手册 DirectFB——建立在framebuffer基础之上的图形加速引擎
💻 HTML
📖 第 1 页 / 共 5 页
字号:
  <font color=#D07070 size=+1>DFBSurfaceDrawingFlags</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_NOFX</font>    </TD><TD valign=top>      <font color=#404040>uses none of the effects </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_BLEND</font>    </TD><TD valign=top>      <font color=#404040>uses alpha from color </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_DST_COLORKEY</font>    </TD><TD valign=top>      <font color=#404040>write to destination only if the destination pixel matches the destination color key </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_SRC_PREMULTIPLY</font>    </TD><TD valign=top>      <font color=#404040>multiplies the color's rgb channels by the alpha channel before drawing </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_DST_PREMULTIPLY</font>    </TD><TD valign=top>      <font color=#404040>modulates the dest. color with the dest. alpha </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_DEMULTIPLY</font>    </TD><TD valign=top>      <font color=#404040>divides the color by the alpha before writing the data to the destination </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSDRAW_XOR</font>    </TD><TD valign=top>      <font color=#404040>bitwise xor the destination pixels with the specified color after premultiplication </font>    </TD></TR>  </TABLE>        Flags controlling drawing commands.  <br></p><p>  <a name=DFBSurfaceBlittingFlags>  <font color=#D07070 size=+1>DFBSurfaceBlittingFlags</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_NOFX</font>    </TD><TD valign=top>      <font color=#404040>uses none of the effects </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_BLEND_ALPHACHANNEL</font>    </TD><TD valign=top>      <font color=#404040>enables blending and uses alphachannel from source </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_BLEND_COLORALPHA</font>    </TD><TD valign=top>      <font color=#404040>enables blending and uses alpha value from color </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_COLORIZE</font>    </TD><TD valign=top>      <font color=#404040>modulates source color with the color's r/g/b values </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_SRC_COLORKEY</font>    </TD><TD valign=top>      <font color=#404040>don't blit pixels matching the source color key </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_DST_COLORKEY</font>    </TD><TD valign=top>      <font color=#404040>write to destination only if the destination pixel matches the destination color key </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_SRC_PREMULTIPLY</font>    </TD><TD valign=top>      <font color=#404040>modulates the source color with the (modulated) source alpha </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_DST_PREMULTIPLY</font>    </TD><TD valign=top>      <font color=#404040>modulates the dest. color with the dest. alpha </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_DEMULTIPLY</font>    </TD><TD valign=top>      <font color=#404040>divides the color by the alpha before writing the data to the destination </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_DEINTERLACE</font>    </TD><TD valign=top>      <font color=#404040>deinterlaces the source during blitting by reading only one field (every second line of full image) scaling it vertically by factor two </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_SRC_PREMULTCOLOR</font>    </TD><TD valign=top>      <font color=#404040>modulates the source color with the color alpha </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DSBLIT_XOR</font>    </TD><TD valign=top>      <font color=#404040>bitwise xor the destination pixels with the source pixels after premultiplication </font>    </TD></TR>  </TABLE>        Flags controlling blitting commands.  <br></p><p>  <a name=DFBAccelerationMask>  <font color=#D07070 size=+1>DFBAccelerationMask</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_NONE</font>    </TD><TD valign=top>      <font color=#404040>None of these. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_FILLRECTANGLE</font>    </TD><TD valign=top>      <font color=#404040>FillRectangle() is accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_DRAWRECTANGLE</font>    </TD><TD valign=top>      <font color=#404040>DrawRectangle() is accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_DRAWLINE</font>    </TD><TD valign=top>      <font color=#404040>DrawLine() is accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_FILLTRIANGLE</font>    </TD><TD valign=top>      <font color=#404040>FillTriangle() is accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_BLIT</font>    </TD><TD valign=top>      <font color=#404040>Blit() and TileBlit() are accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_STRETCHBLIT</font>    </TD><TD valign=top>      <font color=#404040>StretchBlit() is accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_TEXTRIANGLES</font>    </TD><TD valign=top>      <font color=#404040>TextureTriangles() is accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_DRAWSTRING</font>    </TD><TD valign=top>      <font color=#404040>DrawString() and DrawGlyph() are accelerated. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DFXL_ALL</font>    </TD><TD valign=top>      <font color=#404040>All drawing/blitting functions. </font>    </TD></TR>  </TABLE>        Mask of accelerated functions.  <br></p><p>  <a name=DFBDisplayLayerTypeFlags>  <font color=#D07070 size=+1>DFBDisplayLayerTypeFlags</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DLTF_NONE</font>    </TD><TD valign=top>      <font color=#404040>Unclassified, no specific type. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DLTF_GRAPHICS</font>    </TD><TD valign=top>      <font color=#404040>Can be used for graphics output. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DLTF_VIDEO</font>    </TD><TD valign=top>      <font color=#404040>Can be used for live video output.</font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DLTF_STILL_PICTURE</font>    </TD><TD valign=top>      <font color=#404040>Can be used for single frames. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DLTF_BACKGROUND</font>    </TD><TD valign=top>      <font color=#404040>Can be used as a background layer.</font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DLTF_ALL</font>    </TD><TD valign=top>      <font color=#404040>All type flags set. </font>    </TD></TR>  </TABLE>        Type of display layer for basic classification.      Values may be or'ed together.  <br></p><p>  <a name=DFBInputDeviceTypeFlags>  <font color=#D07070 size=+1>DFBInputDeviceTypeFlags</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_NONE</font>    </TD><TD valign=top>      <font color=#404040>Unclassified, no specific type. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_KEYBOARD</font>    </TD><TD valign=top>      <font color=#404040>Can act as a keyboard. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_MOUSE</font>    </TD><TD valign=top>      <font color=#404040>Can be used as a mouse. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_JOYSTICK</font>    </TD><TD valign=top>      <font color=#404040>Can be used as a joystick. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_REMOTE</font>    </TD><TD valign=top>      <font color=#404040>Is a remote control. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_VIRTUAL</font>    </TD><TD valign=top>      <font color=#404040>Is a virtual input device. </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIDTF_ALL</font>    </TD><TD valign=top>      <font color=#404040>All type flags set. </font>    </TD></TR>  </TABLE>        Type of input device for basic classification.      Values may be or'ed together.  <br></p><p>  <a name=DFBInputDeviceCapabilities>  <font color=#D07070 size=+1>DFBInputDeviceCapabilities</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DICAPS_KEYS</font>    </TD><TD valign=top>      <font color=#404040>device supports key events </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DICAPS_AXES</font>    </TD><TD valign=top>      <font color=#404040>device supports axis events </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DICAPS_BUTTONS</font>    </TD><TD valign=top>      <font color=#404040>device supports button events </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DICAPS_ALL</font>    </TD><TD valign=top>      <font color=#404040>all capabilities </font>    </TD></TR>  </TABLE>        Basic input device features.  <br></p><p>  <a name=DFBInputDeviceButtonIdentifier>  <font color=#D07070 size=+1>DFBInputDeviceButtonIdentifier</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIBI_LEFT</font>    </TD><TD valign=top>      <font color=#404040>left mouse button </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIBI_RIGHT</font>    </TD><TD valign=top>      <font color=#404040>right mouse button </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIBI_MIDDLE</font>    </TD><TD valign=top>      <font color=#404040>middle mouse button </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIBI_FIRST</font>    </TD><TD valign=top>      <font color=#404040>other buttons: DIBI_FIRST + zero based index </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIBI_LAST</font>    </TD><TD valign=top>      <font color=#404040>32 buttons maximum </font>    </TD></TR>  </TABLE>        Identifier (index) for e.g. mouse or joystick buttons.  <br></p><p>  <a name=DFBInputDeviceAxisIdentifier>  <font color=#D07070 size=+1>DFBInputDeviceAxisIdentifier</font>  <br>  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#F0F0F0>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIAI_X</font>    </TD><TD valign=top>      <font color=#404040>X axis </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIAI_Y</font>    </TD><TD valign=top>      <font color=#404040>Y axis </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIAI_Z</font>    </TD><TD valign=top>      <font color=#404040>Z axis </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIAI_FIRST</font>    </TD><TD valign=top>      <font color=#404040>other axis: DIAI_FIRST + zero based index </font>    </TD></TR>    <TR><TD width=32>&nbsp;</TD><TD valign=top>      <font color=#40A040>DIAI_LAST</font>    </TD><TD valign=top>

⌨️ 快捷键说明

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