# Record TCefImage

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefImage = record`

## Description

Container for a single image represented at different scale factors. All image representations should be the same size in density independent pixel (DIP) units. For example, if the image at scale factor 1.0 is 100x100 pixels then the image at scale factor 2.0 should be 200x200 pixels – both images will display with a DIP size of 100x100 units. The functions of this structure can be called on any browser process thread.

NOTE: This struct is allocated DLL-side.

Implemented by ICefImage.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_image_capi.h">CEF source file: /include/capi/cef_image_capi.h (cef_image_t))

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `is_empty: function(self: PCefImage): Integer; stdcall;`
Public | `is_same: function(self, that: PCefImage): Integer; stdcall;`
Public | `add_bitmap: function(self: PCefImage; scale_factor: Single; pixel_width, pixel_height: Integer; color_type: TCefColorType; alpha_type: TCefAlphaType; const pixel_data: Pointer; pixel_data_size: NativeUInt): Integer; stdcall;`
Public | `add_png: function(self: PCefImage; scale_factor: Single; const png_data: Pointer; png_data_size: NativeUInt): Integer; stdcall;`
Public | `add_jpeg: function(self: PCefImage; scale_factor: Single; const jpeg_data: Pointer; jpeg_data_size: NativeUInt): Integer; stdcall;`
Public | `get_width: function(self: PCefImage): NativeUInt; stdcall;`
Public | `get_height: function(self: PCefImage): NativeUInt; stdcall;`
Public | `has_representation: function(self: PCefImage; scale_factor: Single): Integer; stdcall;`
Public | `remove_representation: function(self: PCefImage; scale_factor: Single): Integer; stdcall;`
Public | `get_representation_info: function(self: PCefImage; scale_factor: Single; actual_scale_factor: System.PSingle; pixel_width, pixel_height: PInteger): Integer; stdcall;`
Public | `get_as_bitmap: function(self: PCefImage; scale_factor: Single; color_type: TCefColorType; alpha_type: TCefAlphaType; pixel_width, pixel_height: PInteger): PCefBinaryValue; stdcall;`
Public | `get_as_png: function(self: PCefImage; scale_factor: Single; with_transparency: Integer; pixel_width, pixel_height: PInteger): PCefBinaryValue; stdcall;`
Public | `get_as_jpeg: function(self: PCefImage; scale_factor: Single; quality: Integer; pixel_width, pixel_height: PInteger): PCefBinaryValue; stdcall;`

## Description

### Fields

Public | `base: TCefBaseRefCounted;`
This item has no description.

Public | `is_empty: function(self: PCefImage): Integer; stdcall;`
This item has no description.

Public | `is_same: function(self, that: PCefImage): Integer; stdcall;`
This item has no description.

Public | `add_bitmap: function(self: PCefImage; scale_factor: Single; pixel_width, pixel_height: Integer; color_type: TCefColorType; alpha_type: TCefAlphaType; const pixel_data: Pointer; pixel_data_size: NativeUInt): Integer; stdcall;`
This item has no description.

Public | `add_png: function(self: PCefImage; scale_factor: Single; const png_data: Pointer; png_data_size: NativeUInt): Integer; stdcall;`
This item has no description.

Public | `add_jpeg: function(self: PCefImage; scale_factor: Single; const jpeg_data: Pointer; jpeg_data_size: NativeUInt): Integer; stdcall;`
This item has no description.

Public | `get_width: function(self: PCefImage): NativeUInt; stdcall;`
This item has no description.

Public | `get_height: function(self: PCefImage): NativeUInt; stdcall;`
This item has no description.

Public | `has_representation: function(self: PCefImage; scale_factor: Single): Integer; stdcall;`
This item has no description.

Public | `remove_representation: function(self: PCefImage; scale_factor: Single): Integer; stdcall;`
This item has no description.

Public | `get_representation_info: function(self: PCefImage; scale_factor: Single; actual_scale_factor: System.PSingle; pixel_width, pixel_height: PInteger): Integer; stdcall;`
This item has no description.

Public | `get_as_bitmap: function(self: PCefImage; scale_factor: Single; color_type: TCefColorType; alpha_type: TCefAlphaType; pixel_width, pixel_height: PInteger): PCefBinaryValue; stdcall;`
This item has no description.

Public | `get_as_png: function(self: PCefImage; scale_factor: Single; with_transparency: Integer; pixel_width, pixel_height: PInteger): PCefBinaryValue; stdcall;`
This item has no description.

Public | `get_as_jpeg: function(self: PCefImage; scale_factor: Single; quality: Integer; pixel_width, pixel_height: PInteger): PCefBinaryValue; stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.