Movatterモバイル変換


[0]ホーム

URL:


Method

AtkImageget_image_size

Declaration[src]

voidatk_image_get_image_size(AtkImage*image,gint*width,gint*height)

Description[src]

Get the width and height in pixels for the specified image.The values ofwidth andheight are returned as -1 if thevalues cannot be obtained (for instance, if the object is not onscreen).

If the size can not be obtained (e.g. missing support), x and y are setto -1.

Parameters

width

Type: gint*

Filled with the image width, or -1 if the value cannot be obtained.

The argument will be set by the function.
The argument can beNULL.
height

Type: gint*

Filled with the image height, or -1 if the value cannot be obtained.

The argument will be set by the function.
The argument can beNULL.

[8]ページ先頭

©2009-2026 Movatter.jp