このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XHalfFloatReadOnlyBitmap
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: (判決などを)下すing ::

unpublished interface XHalfFloatReadOnlyBitmap
Base Interfaces
XHalfFloatReadOnlyBitmapXBitmap

XBitmap
(言及/関連d interface's 要約:)
This is a generic interface to a bitmap.
Usage 制限s
not published
Description
専攻するd interface for bitmaps 含む/封じ込めるing half floats as their color 構成要素s. Half floats are 16 bit wide, and some high-end GPUs already have them as supported でっちあげる,人を罪に陥れる 衝撃を和らげるもの 判型. In contrast to XHalfFloatBitmap, this interface only 許すs read-only 接近.

Use this interface for e.g. bitmaps that are calculated on-the-飛行機で行く, or that are pure 機能の, and thus cannot be 修正するd.

If you get passed an instance of XHalfFloatReadOnlyBitmap that also supports the XVolatileBitmap interface, things become a bit more 複雑にするd. When reading data, one has to check for both VolatileContentDestroyedException and mismatching FloatingPointBitmapLayout return values. If either of them occurs, the whole bitmap read 操作/手術 should be repeated.


Methods' 要約
getData Query the raw data of this bitmap. 
getPixel Get a 選び出す/独身 pixel of the bitmap, returning its color value. 
getMemoryLayout Query the memory layout for this bitmap. 
Methods' 詳細(に述べる)s
getData
sequence< short >
getData( [in] ::com::sun::星/主役にする::geometry::IntegerRectangle2D  rect )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException,
VolatileContentDestroyedException );

Description
Query the raw data of this bitmap.

Query the raw data of this bitmap, in the 判型 as defined by getMemoryLayout(). With the given rectangle, a subset of the whole bitmap can be queried. When querying subsets of the bitmap, the same scanline padding takes place as when the whole bitmap is requested. 公式文書,認める: as we 現在/一般に have no 16 bit float UNO data type, the values are 輸送(する)d as 16 bit integers across the API (which 要求するs casting on both 味方するs).

Throws
VolatileContentDestroyedException if the bitmap is volatile, and the content has been destroyed by the system.
getPixel
sequence< short >
getPixel( [in] ::com::sun::星/主役にする::geometry::IntegerPoint2D  pos )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException,
VolatileContentDestroyedException );

Description
Get a 選び出す/独身 pixel of the bitmap, returning its color value.

Throws
VolatileContentDestroyedException if the bitmap is volatile, and the content has been destroyed by the system.
getMemoryLayout
FloatingPointBitmapLayout
getMemoryLayout();

Description
Query the memory layout for this bitmap.

最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.