PixelDraw Class Reference

点の描画 More...

#include <basicDraw.h>

Inheritance diagram for PixelDraw:

Inheritance graph
[legend]
Collaboration diagram for PixelDraw:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PixelDraw (int x, int y, unsigned long color=White)
 点の描画
void draw (void)
 描画

Static Public Member Functions

static void setColor (unsigned long color)
 描画色の登録
static void setPixel (int x, int y)
 描画尾と位置の登録


Detailed Description

点の描画

Definition at line 84 of file basicDraw.h.


Constructor & Destructor Documentation

PixelDraw::PixelDraw ( int  x,
int  y,
unsigned long  color = White 
)

点の描画

Parameters:
x [i] X値
y [i] Y値
color [i] 色

Definition at line 59 of file basicDraw.cpp.


Member Function Documentation

void PixelDraw::setColor ( unsigned long  color  )  [static]

描画色の登録

Parameters:
color [i] 描画色

Definition at line 77 of file basicDraw.cpp.

Referenced by CircleDraw::draw(), LineDraw::draw(), PixelGroupDraw::draw(), and draw().

void PixelDraw::setPixel ( int  x,
int  y 
) [static]

描画尾と位置の登録

Parameters:
x [i] X値
y [i] Y値

Definition at line 82 of file basicDraw.cpp.

References SDL_Video::fillRect(), VXV::Rect::h, VXV::Rect::w, VXV::Grid::x, and VXV::Grid::y.

Referenced by BasicDrawInterface::drawRangedPixel().


The documentation for this class was generated from the following files:

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1