Unit 'uCEFTypes' Package
[Overview][Types][Index] [#pl_cef4typhon]

TCefImage

Declaration

Source position: uCEFTypes.pas line 7073

type TCefImage = record

  base: TCefBaseRefCounted;

  

  is_empty: function(

  

  self: PCefImage

):Integer;

  is_same: function(

  

  self: PCefImage;

  that: PCefImage

):Integer;

  add_bitmap: function(

  

  self: PCefImage;

  scale_factor: Single;

  pixel_width: Integer;

  pixel_height: Integer;

  color_type: TCefColorType;

  alpha_type: TCefAlphaType;

  const pixel_data: Pointer;

  pixel_data_size: NativeUInt

):Integer;

  add_png: function(

  

  self: PCefImage;

  scale_factor: Single;

  const png_data: Pointer;

  png_data_size: NativeUInt

):Integer;

  add_jpeg: function(

  

  self: PCefImage;

  scale_factor: Single;

  const jpeg_data: Pointer;

  jpeg_data_size: NativeUInt

):Integer;

  get_width: function(

  

  self: PCefImage

):NativeUInt;

  get_height: function(

  

  self: PCefImage

):NativeUInt;

  has_representation: function(

  

  self: PCefImage;

  scale_factor: Single

):Integer;

  remove_representation: function(

  

  self: PCefImage;

  scale_factor: Single

):Integer;

  get_representation_info: function(

  

  self: PCefImage;

  scale_factor: Single;

  actual_scale_factor: System.PSingle;

  pixel_width: PInteger;

  pixel_height: PInteger

):Integer;

  get_as_bitmap: function(

  

  self: PCefImage;

  scale_factor: Single;

  color_type: TCefColorType;

  alpha_type: TCefAlphaType;

  pixel_width: PInteger;

  pixel_height: PInteger

):PCefBinaryValue;

  get_as_png: function(

  

  self: PCefImage;

  scale_factor: Single;

  with_transparency: Integer;

  pixel_width: PInteger;

  pixel_height: PInteger

):PCefBinaryValue;

  get_as_jpeg: function(

  

  self: PCefImage;

  scale_factor: Single;

  quality: Integer;

  pixel_width: PInteger;

  pixel_height: PInteger

):PCefBinaryValue;

end;



CT Web help

CodeTyphon Studio