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

翻訳前ページへ


Interface XGraphicDevice
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XGraphicDevice
Description
This interface 供給するs 接近 to a graphic 装置, such as a printer, or a 審査する 装置. Every canvas (
See also
XCanvas)
has 正確に/まさに one associated graphic 装置, into which its 生産(高) is (判決などを)下すd. For a typical windowing system, the graphic 装置 is 同等(の) to a 際立った OS window, with it's own clipped 生産(高) area, fullscreen and 二塁打-衝撃を和らげるものing せいにするs. That is, even if one can have 多重の canvases per system window, they all 株 the same graphic 装置 and thus e.g. fullscreen 明言する/公表する. If the OS 制限s are in such a way that fullscreen or 二塁打-衝撃を和らげるものing is 審査する-排除的, i.e. that per 審査する, only one 反対する can have this 明言する/公表する, it might even be that all windows on the 審査する 株 a ありふれた graphic 装置.

Methods' 要約
getBufferController Query the 監査役 for multi 衝撃を和らげるものing functionality on this graphic 装置. If there is no such functionality 利用できる, the NULL 言及/関連 is returned.  
getDeviceColorSpace Query the color space interface for this graphic 装置. This is to be used when 解釈する/通訳するing or setting 装置 color values.  
getPhysicalResolution Query the physical 決意/決議 of the 装置 in pixel per ミリメートル. A special floating point value of +infinity here 示すs 'unknown', i.e. at the time of (判決などを)下すing undetermined or かもしれない infinite 決意/決議 along the corresponding direction.  
getPhysicalSize Query the physical dimensions of the 装置 in ミリメートル. A special floating point value of +infinity here 示すs 'unknown', i.e. at the time of (判決などを)下すing undetermined or かもしれない infinite 決意/決議 along the corresponding direction.  
createCompatibleLinePolyPolygon Create a line poly-polygon which can internally use 装置-optimized 代表s already.  
createCompatibleBezierPolyPolygon Create a bezier poly-polygon which can internally use 装置-optimized 代表s already.  
createCompatibleBitmap Create a bitmap whose memory layout and 見本 model is 両立できる to the graphic 装置.  
createVolatileBitmap Create a volatile bitmap that is usable with this graphic 装置. A volatile bitmap's difference in comparison to a plain bitmap (e.g. 生成するd 経由で createCompatibleBitmap()) is the fact that its content might 消える at any point in time (making any 操作/手術 with them produce a VolatileContentDestroyedException). The 利益, on the other 手渡す, is that they might be 平易な to 金物類/武器類-加速する on 確かな 壇・綱領・公約s, without the need to keep a safety copy of the content internally.  
createCompatibleAlphaBitmap Create a bitmap with alpha channel whose memory layout and 見本 model is 両立できる to the graphic 装置.  
createVolatileAlphaBitmap Create a volatile bitmap with alpha channel that is usable with this graphic 装置. A volatile bitmap's difference in comparison to a plain bitmap (e.g. 生成するd 経由で createCompatibleBitmap()) is the fact that its content might 消える at any point in time (making any 操作/手術 with them produce a VolatileContentDestroyedException). The 利益, on the other 手渡す, is that they might be 平易な to 金物類/武器類-加速する on 確かな 壇・綱領・公約s, without the need to keep a safety copy of the content internally.  
getParametricPolyPolygonFactory Get a 言及/関連 to this 装置's parametric polygon factory.  
hasFullScreenMode Tells whether this graphic 装置 has a 十分な 審査する 方式, i.e. whether a window can cover the whole 審査する 排他的に.  
enterFullScreenMode Enter or leave the fullscreen 方式, if possible. The return value denotes the success of the 操作/手術. @attention depending on the underlying operating system, fullscreen 方式 can be left without a enterFullScreenMode( 誤った ) call.  
Methods' 詳細(に述べる)s
getBufferController
XBufferController
getBufferController();

Description
Query the 監査役 for multi 衝撃を和らげるものing functionality on this graphic 装置. If there is no such functionality 利用できる, the NULL 言及/関連 is returned.
getDeviceColorSpace
XColorSpace
getDeviceColorSpace();

Description
Query the color space interface for this graphic 装置. This is to be used when 解釈する/通訳するing or setting 装置 color values.
getPhysicalResolution
::com::sun::星/主役にする::geometry::RealSize2D
getPhysicalResolution();

Description
Query the physical 決意/決議 of the 装置 in pixel per ミリメートル. A special floating point value of +infinity here 示すs 'unknown', i.e. at the time of (判決などを)下すing undetermined or かもしれない infinite 決意/決議 along the corresponding direction.
getPhysicalSize
::com::sun::星/主役にする::geometry::RealSize2D
getPhysicalSize();

Description
Query the physical dimensions of the 装置 in ミリメートル. A special floating point value of +infinity here 示すs 'unknown', i.e. at the time of (判決などを)下すing undetermined or かもしれない infinite 決意/決議 along the corresponding direction.
See also
XBitmap::getSize()
createCompatibleLinePolyPolygon
XLinePolyPolygon2D
createCompatibleLinePolyPolygon( [in] sequence< sequence< ::com::sun::星/主役にする::geometry::RealPoint2D > >  points );

Description
Create a line poly-polygon which can internally use 装置-optimized 代表s already.
Parameter points
The points of the poly-polygon, in a separate array for every polygon.
createCompatibleBezierPolyPolygon
XBezierPolyPolygon2D
createCompatibleBezierPolyPolygon( [in] sequence< sequence< ::com::sun::星/主役にする::geometry::RealBezierSegment2D > >  points );

Description
Create a bezier poly-polygon which can internally use 装置-optimized 代表s already.
Parameter points
The points of the poly-polygon, in a separate array for every polygon.
createCompatibleBitmap
XBitmap
createCompatibleBitmap( [in] ::com::sun::星/主役にする::geometry::IntegerSize2D  size )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
Create a bitmap whose memory layout and 見本 model is 両立できる to the graphic 装置.
Parameter size
Size of the requested bitmap in pixel. Both 構成要素s of the size must be greater than 0
createVolatileBitmap
XVolatileBitmap
createVolatileBitmap( [in] ::com::sun::星/主役にする::geometry::IntegerSize2D  size )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
Create a volatile bitmap that is usable with this graphic 装置. A volatile bitmap's difference in comparison to a plain bitmap (e.g. 生成するd 経由で createCompatibleBitmap()) is the fact that its content might 消える at any point in time (making any 操作/手術 with them produce a VolatileContentDestroyedException). The 利益, on the other 手渡す, is that they might be 平易な to 金物類/武器類-加速する on 確かな 壇・綱領・公約s, without the need to keep a safety copy of the content internally.
Parameter size
Size of the requested bitmap in pixel. Both 構成要素s of the size must be greater than 0
createCompatibleAlphaBitmap
XBitmap
createCompatibleAlphaBitmap( [in] ::com::sun::星/主役にする::geometry::IntegerSize2D  size )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
Create a bitmap with alpha channel whose memory layout and 見本 model is 両立できる to the graphic 装置.
Parameter size
Size of the requested bitmap in pixel. Both 構成要素s of the size must be greater than 0
createVolatileAlphaBitmap
XVolatileBitmap
createVolatileAlphaBitmap( [in] ::com::sun::星/主役にする::geometry::IntegerSize2D  size )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
Create a volatile bitmap with alpha channel that is usable with this graphic 装置. A volatile bitmap's difference in comparison to a plain bitmap (e.g. 生成するd 経由で createCompatibleBitmap()) is the fact that its content might 消える at any point in time (making any 操作/手術 with them produce a VolatileContentDestroyedException). The 利益, on the other 手渡す, is that they might be 平易な to 金物類/武器類-加速する on 確かな 壇・綱領・公約s, without the need to keep a safety copy of the content internally.
Parameter size
Size of the requested bitmap in pixel. Both 構成要素s of the size must be greater than 0
getParametricPolyPolygonFactory
::com::sun::星/主役にする::lang::XMultiServiceFactory
getParametricPolyPolygonFactory();

Description
Get a 言及/関連 to this 装置's parametric polygon factory.
Returns
a 言及/関連 to this 装置's parametric polygon factory. Although it is possible to use parametric polygons on all canvases, 関わりなく the associated graphic 装置, this is not advisable: each canvas 実施 is 解放する/自由な to internally 生成する optimized parametric polygons, which can be used more 直接/まっすぐに for e.g. texturing 操作/手術s.
 利用できる services (all canvas 実施s should 供給する
 this 極小の 始める,決める, though are 解放する/自由な to 追加する more; just check the
 getAvailableServiceNames() on the returned interface):

 - Gradients - all gradients need to support two construction
 parameters, "Colors" 存在 a ::sequence
 and "Stops" 存在 a ::sequence. Both must
 have the same length, and at least two elements. See
 http://www.w3.org/TR/SVG11/pservers.html#GradientStops for
 the semantics of gradient stops and colors.
 要求するd gradient services:

 * "LinearGradient" - the gradient 変化させるs linearly between
 the given colors. without 調整する system
 変形, the color interpolation happens in
 増加するing x direction, and is constant in y
 direction. 同等(の) to svg linear gradient
 http://www.w3.org/TR/SVG11/pservers.html#LinearGradients

 * "EllipticalGradient" - this gradient has zeroth color
 索引 in the middle, and 変化させるs linearly between 中心
 and final color. The services takes an 付加
 parameter 指名するd "AspectRatio" of ::二塁打
 (width divided by 高さ), if this 面 割合 is 1, the
 gradient is circular. If it's not 1, the gradient is
 elliptical, with the special 新たな展開 that the 面 割合
 is 持続するd also for the 中心 color: the gradient will
 not 崩壊(する) into a 選び出す/独身 point, but become a line of
 中心 color. If "AspectRatio" is 行方不明の, or equal to 1,
 this gradient 産する/生じるs 類似の results as the svg radial
 gradient
 http://www.w3.org/TR/SVG11/pservers.html#RadialGradients

 * "RectangularGradient" - this gradient has zeroth color
 索引 in the middle, and 変化させるs linearly between 中心
 and final color 経由で rectangular boxes
 around the 中心 point. The services takes an 付加
 parameter 指名するd "AspectRatio" of ::二塁打
 (width divided by 高さ), if this 面 割合 is 1, the
 gradient is quadratic. If it's not 1, the gradient is
 rectangular, with the special 新たな展開 that the 面 割合
 is 持続するd also for the 中心 color: the gradient will
 not 崩壊(する) into a 選び出す/独身 point, but become a line of
 中心 color.

 - Hatch patterns - 要求するd hatch services:

 * "VerticalLineHatch" - this ハッチング consists of vertical lines
 * "OrthogonalLinesHatch" - this ハッチング consists of
 crossing vertical and 水平の lines
 * "ThreeCrossingLinesHatch" - this ハッチング consists of
 vertical and 水平の lines 加える diagonal lines from
 left, 最高の,を越す to 底(に届く), 権利.
 * "FourCrossingLinesHatch" - this ハッチング consists of
 vertical and 水平の lines 加える diagonal lines in both
 directions.
 
hasFullScreenMode
boolean
hasFullScreenMode();

Description
Tells whether this graphic 装置 has a 十分な 審査する 方式, i.e. whether a window can cover the whole 審査する 排他的に.
enterFullScreenMode
boolean
enterFullScreenMode( [in] boolean  bEnter );

Description
Enter or leave the fullscreen 方式, if possible. The return value denotes the success of the 操作/手術. @attention depending on the underlying operating system, fullscreen 方式 can be left without a enterFullScreenMode( 誤った ) call.
最高の,を越す 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.