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

翻訳前ページへ


Interface XIeeeFloatReadOnlyBitmap
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XIeeeFloatReadOnlyBitmap
Base Interfaces
XIeeeFloatReadOnlyBitmapXBitmap

XBitmap
(言及/関連d interface's 要約:)
This is a generic interface to a bitmap.
Usage 制限s
not published
Description
専攻するd interface for bitmaps 含む/封じ込めるing IEEE floats as their color 構成要素s. In contrast to XIeeeFloatBitmap, 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< float >
getData( [out] FloatingPointBitmapLayout  bitmapLayout,
[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.

公式文書,認める that the bitmap memory layout might change for volatile bitmaps.

Parameter bitmapLayout
The memory layout the returned data is in.
Parameter rect
A rectangle, within the bounds of the bitmap, to retrieve the contens from.
Throws
VolatileContentDestroyedException if the bitmap is volatile, and the content has been destroyed by the system.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if parts of the given rectangle are outside the permissible bitmap area.
getPixel
sequence< float >
getPixel( [out] FloatingPointBitmapLayout  bitmapLayout,
[in] ::com::sun::星/主役にする::geometry::IntegerPoint2D  pos )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException,
VolatileContentDestroyedException );

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

公式文書,認める that the bitmap memory layout might change for volatile bitmaps.

Parameter bitmapLayout
The memory layout the returned data is in.
Parameter pos
A position, within the bounds of the bitmap, to retrieve the color from.
Throws
VolatileContentDestroyedException if the bitmap is volatile, and the content has been destroyed by the system.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if the given position is outside the permissible bitmap area.
getMemoryLayout
FloatingPointBitmapLayout
getMemoryLayout();

Description
Query the memory layout for this bitmap.

Please 公式文書,認める that for volatile bitmaps, the memory layout might change between その後の calls.

最高の,を越す 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.