head	1.2;
access;
symbols;
locks
	root:1.2; strict;
comment	@# @;


1.2
date	2009.12.07.00.56.52;	author root;	state Exp;
branches;
next	1.1;

1.1
date	2009.12.07.00.56.37;	author root;	state Exp;
branches;
next	;


desc
@/opt/nforge/var/wiki/easylogiclib/data/text/WBDraw
@


1.2
log
@118.219.84.10;;cyberuls easylogic ;;
@
text
@[[TableOfContents]]
= Description = 

 * 그리기에 관련된 클래스입니다. 
 * 좀 더 많은 기능을 위해서는 GDI 를 직접 호출 해야 할 것 같습니다.
 * 그릴 수 있는 객체 
  * [WBWindow] - buffer 속성 얻어오기 
  * [WBImage]


== Window 에 그림그리기 == 

{{{#!vim php 

<?php

/** 
 * WBTableLayout, winbinder 
 * 
 * 
 *  written by easylogic
 * 
 */

class DrawWindow extends WBResizableWindow { 
	public function __construct() { 
		$options = array(
			'title' => 'Draw Example',
			'width' => 300,
			'height' => 300,				
		);

		parent::__construct($options);
	}

	public function repaint($buffer) { 
		// WBWindow는 $buffer만 그릴 수 있다(?)
		WBDraw::rect($buffer, 10, 10, 100, 100, BLACK, true);
		WBDraw::rect($buffer, 10, 10, 100, 100, WHITE);
	}

}

$window = new DrawWindow();
$window->setVisible(true);

WBApplication::start();

?>

}}}
@


1.1
log
@118.219.84.10;;cyberuls easylogic ;;
@
text
@a44 2


a46 2


@
