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

翻訳前ページへ


Interface XIntegerReadOnlyBitmap
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XIntegerReadOnlyBitmap
Base Interfaces
XIntegerReadOnlyBitmapXBitmap

XBitmap
(言及/関連d interface's 要約:)
This is a generic interface to a bitmap.
Usage 制限s
not published
Description
This is a 専攻するd interface for bitmaps having integer color channels. In contrast to XIntegerBitmap, 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 XIntegerReadOnlyBitmap that also supports the XVolatileBitmap interface, things become a bit more 複雑にするd. When reading data, one has to check for both VolatileContentDestroyedException and mismatching IntegerBitmapLayout return values. If either of them occurs, the whole bitmap read 操作/手術 should be repeated, if you need 一貫した (警察などへの)密告,告訴(状).


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< byte >
getData( [out] IntegerBitmapLayout  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. If the 内部の data 判型's pixel are not integer 多重のs of bytes (i.e. if one pixel 占領するs いっそう少なく than a byte), the leftover content of the bytes at the 権利 of each scanline is filled with 無s. The 詳細(に述べる)s of the scanline padding are to be retrieved from the passed bitmap layout.

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

Parameter bitmapLayout
The memory layout the returned data is in. 公式文書,認める that the color space returned therein needs to always match the 現在の color space as would have been returned by getMemoryLayout(). This is necessary to 確実にする 訂正する 操作/手術 under changing XVolatileBitmap.
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< byte >
getPixel( [out] IntegerBitmapLayout  bitmapLayout,
[in] ::com::sun::星/主役にする::geometry::IntegerPoint2D  pos )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException,
VolatileContentDestroyedException );

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

If the 内部の data 判型's pixel are not integer 多重のs of bytes (i.e. if one pixel 占領するs いっそう少なく than a byte - the 事例/患者 of more than one byte per pixel is not 明示するd), the color value is returned in the least 重要な bits of the 選び出す/独身 byte returned as the color. The 詳細(に述べる)s of the returned pixel data are to be retrieved from the passed bitmap layout.

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

Parameter bitmapLayout
The memory layout the returned data is in. 公式文書,認める that the color space returned therein needs to always match the 現在の color space as would have been returned by getMemoryLayout(). This is necessary to 確実にする 訂正する 操作/手術 under changing XVolatileBitmap.
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
IntegerBitmapLayout
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.