Home :: GreenPad :: editwing :: View :: Impl classes

class Canvas

^ 
    extends Object as public

描画可能領域

ウインドウサイズの変更や折り返しの有無やフォントの設定などに 対応して、描画領域のサイズを適当に管理します。やることは とりあえずそれだけ。

Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:127
Author:
K.INABA
Version:
beta

Contents

^ 
EntityTypeScopeShort Description
Canvasconstructor publicundocumented
getPaintermethod public描画用オブジェクト
on_config_changemethod public設定変更イベント処理
on_font_changemethod publicフォント変更イベント処理
on_tln_changemethod public行数変更イベント処理
on_view_resizemethod publicViewの大きさ変更イベント処理
showLNmethod public[行番号を表示するか否か]
wrapTypemethod public[-1:折り返し無し 0:窓右端 else:指定文字数]
wrapWidthmethod public折り返し幅(pixel)
zonemethod public表示領域の位置(pixel)

constructor Canvas

? ^  > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:130
Code:
public Canvas ( const View & vw )

method getPainter

? ^  < > 
描画用オブジェクト
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:161
Code:
public Painter & getPainter ( ) const

method on_config_change

? ^  < > 
設定変更イベント処理
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:144
Code:
public void on_config_change ( int wrap ,
bool showln )

method on_font_change

? ^  < > 
フォント変更イベント処理
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:141
Code:
public void on_font_change ( const VConfig & vc )

method on_tln_change

? ^  < > 
行数変更イベント処理
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:138
Returns:
テキスト領域の幅が変わったらtrue
Code:
public bool on_tln_change ( ulong tln )

method on_view_resize

? ^  < > 
Viewの大きさ変更イベント処理
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:134
Returns:
折り返し幅が変わったらtrue
Code:
public bool on_view_resize ( int cx ,
int cy )

method showLN

? ^  < > 
[行番号を表示するか否か]
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:149
Code:
public bool showLN ( ) const

method wrapType

? ^  < > 
[-1:折り返し無し 0:窓右端 else:指定文字数]
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:152
Code:
public int wrapType ( ) const

method wrapWidth

? ^  < > 
折り返し幅(pixel)
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:155
Code:
public ulong wrapWidth ( ) const

method zone

? ^  < > 
表示領域の位置(pixel)
Source:
C:\usr\develop\MyProject\GreenPad\editwing\ip_view.h:158
Code:
public const RECT & zone ( ) const

Created Mon May 06 21:01:04 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_msvc_MSWin32-4.0.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.