Table of Contents

 
GetImageX
 

Purpose

Gets the image's current X location

 

Protoype

int CImageMngr::GetImageX (string str_img_id)
 

Parameters

img_id the ID of the image to query
 

Description

This function queries the given image object and returns its current X location on the screen.

 

Use

CImageMngr image;
int img_x = image.GetImageX("my_image");
 

Prev: GetImageWidth
Next: GetImageY