The OpenD Programming Language

cef_image_t.get_representation_info

Returns information for the representation that most closely matches |scale_factor|. |actual_scale_factor| is the actual scale factor for the representation. |pixel_width| and |pixel_height| are the representation size in pixel coordinates. Returns true (1) on success.

struct cef_image_t
extern (System)
int function(cef_image_t* self, float scale_factor, float* actual_scale_factor, int* pixel_width, int* pixel_height) nothrow get_representation_info;

Meta