コード例 #1
0
ファイル: statusbar.cpp プロジェクト: paud/d2x-xl
void CStatusBar::DrawAfterburner (void)
{
if (gameStates.app.bD1Mission)
	return;

	static int nIdAfterBurner = 0;

	char szAB [3] = "AB";

CCanvas::Push ();
fontManager.SetScale (floor (float (CCanvas::Current ()->Width ()) / 640.0f));
CCanvas::SetCurrent (CurrentGameScreen ());
if (LOCALPLAYER.flags & PLAYER_FLAGS_AFTERBURNER)
	fontManager.SetColorRGBi (RGBA_PAL2 (45, 21, 0), 1, 0, 0);
else 
	fontManager.SetColorRGBi (RGBA_PAL2 (12, 12, 12), 1, 0, 0);

int w, h, aw;
fontManager.Current ()->StringSize (szAB, w, h, aw);
nIdAfterBurner = PrintF (&nIdAfterBurner, 
								 -(ScaleX (SB_AFTERBURNER_GAUGE_X) + (ScaleX (SB_AFTERBURNER_GAUGE_W) - w) / 2), 
								 -(ScaleY (SB_AFTERBURNER_GAUGE_Y + SB_AFTERBURNER_GAUGE_H - m_info.nLineSpacing) + HeightPad ()), 
								 "AB");
fontManager.SetScale (1.0f);
CCanvas::Pop ();
}
コード例 #2
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt eine Tabelle hinzu.
 *  ... sollte eine Menge von const char*, int und SortType sein
 *
 *  @author OLiver
 */
ctrlTable *Window::AddTable(unsigned int id,
							unsigned short x, 
							unsigned short y, 
							unsigned short width, 
							unsigned short height, 
							TextureColor tc, 
							glArchivItem_Font *font, 
							unsigned int columns, 
							...)
{
	ctrlTable *ctrl;
	va_list liste;
	va_start(liste, columns);

	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	ctrl = new ctrlTable(this, id, x, y, width, height, tc, font, columns, liste);
	
	va_end(liste);

	return AddCtrl(id, ctrl);
}
コード例 #3
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein vertieftes variables TextCtrl hinzu.
 *
 *  @author FloSoft
 */
ctrlVarDeepening *Window::AddVarDeepening(unsigned int id, 
									 unsigned short x, 
									 unsigned short y, 
									 unsigned short width, 
									 unsigned short height, 
									 TextureColor tc, 
									 const std::string& formatstr,  
									 glArchivItem_Font *font,
									 unsigned int color,
									 unsigned int parameters, 
									 ...)
{
	ctrlVarDeepening *ctrl;
	va_list liste;
	va_start(liste, parameters);

	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	ctrl = new ctrlVarDeepening(this, id, x, y, width, height, tc, formatstr, font, color, parameters, liste);
	
	va_end(liste);

	return AddCtrl(id, ctrl);
}
コード例 #4
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt eine ProgressBar hinzu.
 *
 *  @author OLiver
 */
ctrlProgress *Window::AddProgress(unsigned int id,
								  unsigned short x,
								  unsigned short y,
								  unsigned short width,
								  unsigned short height,
								  TextureColor tc,
								  unsigned short button_minus,
								  unsigned short button_plus,
								  unsigned short maximum,
								  const std::string& tooltip,
								  unsigned short x_padding,
								  unsigned short y_padding,
								  unsigned int force_color,
								  const std::string& button_minus_tooltip,
								  const std::string& button_plus_tooltip)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlProgress(this, id, x, y, width, height, tc, button_minus, button_plus, maximum, x_padding, y_padding, force_color, tooltip, button_minus_tooltip, button_plus_tooltip));
}
コード例 #5
0
ファイル: statusbar.cpp プロジェクト: paud/d2x-xl
void CStatusBar::DrawScore (void)
{	                                                                                                                                                                                                                                                             
	char	szScore [20];
	int 	x, y;
	int	w, h, aw;

	static int lastX [4] = {SB_SCORE_RIGHT_L, SB_SCORE_RIGHT_L, SB_SCORE_RIGHT_H, SB_SCORE_RIGHT_H};
	static int nIdLabel = 0, nIdScore = 0;

CCanvas::Push ();
fontManager.SetScale (floor (float (CCanvas::Current ()->Width ()) / 640.0f));
CCanvas::SetCurrent (CurrentGameScreen ());
strcpy (szScore, (IsMultiGame && !IsCoopGame) ? TXT_KILLS : TXT_SCORE);
strcat (szScore, ":");
fontManager.Current ()->StringSize (szScore, w, h, aw);
fontManager.SetColorRGBi (MEDGREEN_RGBA, 1, 0, 0);
nIdLabel = PrintF (&nIdLabel, -(ScaleX (SB_SCORE_LABEL_X + int (w / fontManager.Scale ())) - w), SB_SCORE_Y, szScore);

sprintf (szScore, "%5d", (IsMultiGame && !IsCoopGame) ? LOCALPLAYER.netKillsTotal : LOCALPLAYER.score);
fontManager.Current ()->StringSize (szScore, w, h, aw);
x = ScaleX (SB_SCORE_RIGHT) - w - LHY (2);
y = SB_SCORE_Y;
#if 0
//erase old score
CCanvas::Current ()->SetColorRGBi (RGB_PAL (0, 0, 0));
Rect (lastX [(gameStates.video.nDisplayMode ? 2 : 0) + gameStates.render.vr.nCurrentPage], y, SB_SCORE_RIGHT, y + GAME_FONT->Height ());
#endif
fontManager.SetColorRGBi ((IsMultiGame && !IsCoopGame) ? MEDGREEN_RGBA : GREEN_RGBA, 1, 0, 0);
nIdScore = PrintF (&nIdScore, -x, y, szScore);
lastX [(gameStates.video.nDisplayMode ? 2 : 0) + gameStates.render.vr.nCurrentPage] = x;
fontManager.SetScale (1.0f);
CCanvas::Pop ();
}
コード例 #6
0
ファイル: cockpit.cpp プロジェクト: paud/d2x-xl
void CCockpit::SetupWindow (int nWindow, CCanvas* canvP)
{
tGaugeBox* hudAreaP = hudWindowAreas + COCKPIT_PRIMARY_BOX + nWindow;
gameStates.render.vr.buffers.render->SetupPane (
	canvP,
	ScaleX (hudAreaP->left),
	ScaleY (hudAreaP->top),
	ScaleX (hudAreaP->right - hudAreaP->left+1),
	ScaleY (hudAreaP->bot - hudAreaP->top+1));
}
コード例 #7
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/// fügt einen Image-ButtonCtrl hinzu.
ctrlImageButton *Window::AddImageButton(unsigned int id, unsigned short x, unsigned short y,unsigned short width, unsigned short height, const TextureColor tc,glArchivItem_Bitmap * const image,  const std::string& tooltip)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlImageButton(this, id, x, y, width, height, tc, image,tooltip));
}
コード例 #8
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/// fügt einen Color-ButtonCtrl hinzu.
ctrlColorButton *Window::AddColorButton(unsigned int id, unsigned short x, unsigned short y,unsigned short width, unsigned short height, const TextureColor tc, const unsigned int fillColor, const std::string& tooltip)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlColorButton(this, id, x, y, width, height, tc, fillColor, tooltip));
}
コード例 #9
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/// fügt einen Text-ButtonCtrl hinzu.
ctrlTextButton *Window::AddTextButton(unsigned int id, unsigned short x, unsigned short y,unsigned short width, unsigned short height, const TextureColor tc,const std::string& text,  glArchivItem_Font *font, const std::string& tooltip)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlTextButton(this, id, x, y, width, height, tc, text,font,tooltip));
}
コード例 #10
0
void TrainBackground::Draw(CGameEngine *game, Vector2D p)
{
    Vector2D tracksdraw = ScaleX(Vector2D(tracksPosX, pos.y), p, scrollRate);
    Vector2D stationdraw = ScaleX(Vector2D(stationPosX, pos.y), p, scrollRate);

    apply_surface(tracksdraw, tracks, game->GetScreen());
    apply_surface(Vector2D(tracksdraw.x + tracks->w, pos.y), tracks, game->GetScreen());


    train.Draw(game, p);

    apply_surface(stationdraw, station, game->GetScreen());
}
コード例 #11
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein TabCtrl hinzu.
 *
 *  @author OLiver
 */
ctrlTab *Window::AddTabCtrl(unsigned int id,
						unsigned short x, 
						unsigned short y, 
						unsigned short width)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
	}

	return AddCtrl(id, new ctrlTab(this, id, x, y, width));
}
コード例 #12
0
ファイル: statusbar.cpp プロジェクト: paud/d2x-xl
CBitmap* CStatusBar::StretchBlt (int nGauge, int x, int y, double xScale, double yScale, int scale, int orient)
{
	CBitmap* bmP = NULL;

if (nGauge >= 0) {
	PageInGauge (nGauge);
	CBitmap* bmP = gameData.pig.tex.bitmaps [0] + GaugeIndex (nGauge);
	if (bmP)
		bmP->RenderScaled (ScaleX (x), ScaleY (y), 
								 ScaleX ((int) (bmP->Width () * xScale + 0.5)), ScaleY ((int) (bmP->Height () * yScale + 0.5)), 
								 scale, orient, NULL);
	}
return bmP;
}
コード例 #13
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein variables TextCtrl hinzu.
 *
 *  @param[in] x          X-Koordinate des Steuerelements
 *  @param[in] y          Y-Koordinate des Steuerelements
 *  @param[in] formatstr  Der Formatstring des Steuerelements
 *  @param[in] color      Textfarbe
 *  @param[in] format     Formatierung des Textes
 *                          @p 0    - Text links ( standard )
 *                          @p glArchivItem_Font::DF_CENTER  - Text mittig
 *                          @p glArchivItem_Font::DF_RIGHT   - Text rechts
 *                          @p glArchivItem_Font::DF_TOP     - Text oben ( standard )
 *                          @p glArchivItem_Font::DF_VCENTER - Text vertikal zentriert
 *                          @p glArchivItem_Font::DF_BOTTOM  - Text unten
 *  @param[in] font       Schriftart
 *  @param[in] parameters Anzahl der nachfolgenden Parameter
 *  @param[in] ...        die variablen Parameter
 *
 *  @author OLiver
 */
ctrlVarText *Window::AddVarText(unsigned int id, 
								unsigned short x, 
								unsigned short y, 
								 const std::string& formatstr, 
								unsigned int color, 
								unsigned int format, 
								glArchivItem_Font *font, 
								unsigned int parameters, 
								...)
{
	ctrlVarText *ctrl;
	va_list liste;
	va_start(liste, parameters);

	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
	}

	ctrl = new ctrlVarText(this, id, x, y, formatstr, color, format, font, parameters, liste);
	
	va_end(liste);

	return AddCtrl(id, ctrl);
}
コード例 #14
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
ctrlPreviewMinimap *Window::AddPreviewMinimap(const unsigned id,
				 unsigned short x, 
				 unsigned short y, 
				  unsigned short width, 
				  unsigned short height,
				 glArchivItem_Map * const map)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlPreviewMinimap(this, id, x, y, width, height, map));
}
コード例 #15
0
ファイル: dlg_about.cpp プロジェクト: alfateam123/taiga
void AboutDialog::OnPaint(HDC hdc, LPPAINTSTRUCT lpps) {
  win::Dc dc = hdc;
  win::Rect rect;

  // Paint background
  GetClientRect(&rect);
  rect.left = ScaleX(static_cast<int>(48 * 1.5f));
  dc.FillRect(rect, ::GetSysColor(COLOR_WINDOW));
}
コード例 #16
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein ListCtrl hinzu.
 *
 *  @author OLiver
 */
ctrlList *Window::AddList(unsigned int id,
						  unsigned short x,
						  unsigned short y,
						  unsigned short width,
						  unsigned short height,
						  TextureColor tc,
						  glArchivItem_Font *font)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlList(this, id, x, y, width, height, tc, font));
}
コード例 #17
0
ファイル: CTFService.cpp プロジェクト: hkaiser/TRiAS
bool CCoordTransService::Scale (const double &rdX, const double &rdY, KoOrd *pX, KoOrd *pY)
{
	if (NULL == pX || NULL == pY) 
		return false;

	*pX = ScaleX (rdX, rdY);
	*pY = ScaleY (rdX, rdY);
	return true;
}
コード例 #18
0
ファイル: cockpit.cpp プロジェクト: paud/d2x-xl
int CCockpit::DrawBombCount (int& nIdBombCount, int x, int y, int nColor, char* pszBombCount)
{
CCanvas::Push ();
CCanvas::SetCurrent (CurrentGameScreen ());
fontManager.SetColorRGBi (nColor, 1, 0, 1);
int i = PrintF (&nIdBombCount, -(ScaleX (x) + WidthPad (pszBombCount)), -(ScaleY (y) + HeightPad ()), pszBombCount, nIdBombCount);
CCanvas::Pop ();
return i;
}
コード例 #19
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  adds a colored Deepening
 *
 *  @author Divan
 */
ctrlColorDeepening *Window::AddColorDeepening(unsigned int id,
									unsigned short x,
									unsigned short y,
									unsigned short width, 
									unsigned short height, 
									TextureColor tc, 
									unsigned int fillColor)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlColorDeepening(this, id, x, y, width, height, tc, fillColor));
}
コード例 #20
0
ファイル: dlg_search.cpp プロジェクト: Hydro8182/taiga
BOOL SearchDialog::OnInitDialog() {
  // Create list control
  list_.Attach(GetDlgItem(IDC_LIST_SEARCH));
  list_.SetExtendedStyle(LVS_EX_DOUBLEBUFFER | LVS_EX_FULLROWSELECT | LVS_EX_INFOTIP | LVS_EX_LABELTIP);
  list_.SetImageList(ui::Theme.GetImageList16().GetHandle());
  list_.SetTheme();
  list_.InsertColumn(0, ScaleX(400), ScaleX(400), LVCFMT_LEFT,   L"Anime title");
  list_.InsertColumn(1,  ScaleX(60),  ScaleX(60), LVCFMT_CENTER, L"Type");
  list_.InsertColumn(2,  ScaleX(60),  ScaleX(60), LVCFMT_RIGHT,  L"Episodes");
  list_.InsertColumn(3,  ScaleX(60),  ScaleX(60), LVCFMT_RIGHT,  L"Score");
  list_.InsertColumn(4, ScaleX(100), ScaleX(100), LVCFMT_RIGHT,  L"Season");
  list_.EnableGroupView(true);
  list_.InsertGroup(0, L"Not in list");
  list_.InsertGroup(1, L"In list");

  // Success
  return TRUE;
}
コード例 #21
0
ファイル: Window.cpp プロジェクト: jhkl/s25client
/**
 *  fügt ein mehrzeiliges TextCtrl hinzu.
 *
 *  @author Devil
 */
ctrlMultiline* Window::AddMultiline(unsigned int id,
                                    unsigned short x,
                                    unsigned short y,
                                    unsigned short width,
                                    unsigned short height,
                                    TextureColor tc,
                                    glArchivItem_Font* font,
                                    unsigned int format)
{
    if(scale_)
    {
        x = ScaleX(x);
        y = ScaleY(y);
        width = ScaleX(width);
        height = ScaleY(height);
    }

    return AddCtrl(id, new ctrlMultiline(this, id, x, y, width, height, tc, font, format));
}
コード例 #22
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt eine Scrollbar hinzu.
 *
 *  @author OLiver
 */
ctrlScrollBar *Window::AddScrollBar(unsigned int id,
							  unsigned short x, 
							  unsigned short y,
							  unsigned short width, 
							  unsigned short height, 
							  unsigned short button_height, 
							  TextureColor tc, 
							  unsigned short page_size)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
		button_height = ScaleY(button_height);
	}

	return AddCtrl(id, new ctrlScrollBar(this, id, x, y, width, height, button_height, tc, page_size));
}
コード例 #23
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt eine prozentuale ProgressBar hinzu.
 *
 *  @author OLiver
 */
ctrlPercent *Window::AddPercent(unsigned int id,
								unsigned short x,
								unsigned short y, 
								unsigned short width,
								unsigned short height,
								TextureColor tc, 
								unsigned int text_color, 
								glArchivItem_Font *font,
								const unsigned short *percentage)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlPercent(this, id, x, y, width, height, tc, text_color, font, percentage));
}
コード例 #24
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein vertieftes TextCtrl hinzu.
 *
 *  @author OLiver
 */
ctrlDeepening *Window::AddDeepening(unsigned int id,
									unsigned short x,
									unsigned short y,
									unsigned short width, 
									unsigned short height, 
									TextureColor tc, 
									const std::string& text, 
									glArchivItem_Font *font, 
									unsigned int color)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlDeepening(this, id, x, y, width, height, tc, text, font, color));
}
コード例 #25
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt eine Combobox hinzu.
 *
 *  @author OLiver
 */
ctrlComboBox *Window::AddComboBox(unsigned int id,
								  unsigned short x, 
								  unsigned short y,
								  unsigned short width,
								  unsigned short height,
								  TextureColor tc, 
								  glArchivItem_Font *font,
								  unsigned short max_list_height,
								  bool readonly)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlComboBox(this, id, x, y, width, height, tc, font, max_list_height, readonly));
}
コード例 #26
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt eine Checkbox hinzu.
 *
 *  @author OLiver
 */
ctrlCheck *Window::AddCheckBox(unsigned int id,
							   unsigned short x, 
							   unsigned short y,
							   unsigned short width, 
							   unsigned short height,
							   TextureColor tc, 
							   const std::string& text, 
							   glArchivItem_Font *font, 
							   bool readonly)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlCheck(this, id, x, y, width, height, tc, text, font, readonly));
}
コード例 #27
0
ファイル: statusbar.cpp プロジェクト: paud/d2x-xl
void CStatusBar::DrawEnergy (void)
{
	static int nIdEnergy = 0;

	int w, h, aw;
	char szEnergy [20];

CCanvas::Push ();
fontManager.SetScale (floor (float (CCanvas::Current ()->Width ()) / 640.0f));
CCanvas::SetCurrent (CurrentGameScreen ());
sprintf (szEnergy, "%d", m_info.nEnergy);
fontManager.Current ()->StringSize (szEnergy, w, h, aw);
fontManager.SetColorRGBi (RGBA_PAL2 (25, 18, 6), 1, 0, 0);
nIdEnergy = PrintF (&nIdEnergy, 
						  -(ScaleX (SB_ENERGY_GAUGE_X) + (ScaleX (SB_ENERGY_GAUGE_W) - w) / 2), 
						  -(ScaleY (SB_ENERGY_GAUGE_Y + SB_ENERGY_GAUGE_H - m_info.nLineSpacing) + HeightPad ()), 
						  "%d", m_info.nEnergy);
fontManager.SetScale (1.0f);
CCanvas::Pop ();
}
コード例 #28
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein EditCtrl hinzu.
 *
 *  @author OLiver
 */
ctrlEdit *Window::AddEdit(unsigned int id,
						  unsigned short x, 
						  unsigned short y, 
						  unsigned short width, 
						  unsigned short height, 
						  TextureColor tc, 
						  glArchivItem_Font *font,
						  unsigned short maxlength,
						  bool password, 
						  bool disabled,
						  bool notify)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
		width = ScaleX(width);
		height = ScaleY(height);
	}

	return AddCtrl(id, new ctrlEdit(this, id, x, y, width, height, tc, font, maxlength, password, disabled, notify));
}
コード例 #29
0
ファイル: Window.cpp プロジェクト: MiyaxinPittahai/s25rttr
/**
 *  fügt ein ImageCtrl hinzu.
 *
 *  @author OLiver
 */
ctrlImage *Window::AddImage(unsigned int id,
							unsigned short x,
							unsigned short y,
							glArchivItem_Bitmap *image, const std::string& tooltip)
{
	if(scale)
	{
		x = ScaleX(x);
		y = ScaleY(y);
	}

	return AddCtrl(id, new ctrlImage(this, id, x, y, image, tooltip));
}
コード例 #30
0
void ControlPointsWidget::CalculateWorkingData()
{
    m_bHasWorkingData = true;
    m_dScaleX = ((double)m_rcChartPlotArea.width()) / POINTS_MAX;
    m_dScaleY = ((double)m_rcChartPlotArea.height()) / POINTS_MAX;

    for ( int i = 0; i < (int)m_Points.size(); i++ )
    {
	int x = ScaleX( m_Points[i].lP );
	int y = ScaleY( m_Points[i].dwLog );

	m_rcScreenPoints[i] = QRect( QPoint(x-3,y-3), QSize(7,7));
    }
}