Foxit PDF SDK  9.1
FSBitmap Class Reference
Inheritance diagram for FSBitmap:
FSBase

Instance Methods

(FSRectI *) - calculateBBoxByColor:
 
(FSBitmap *) - clone
 
(FSBitmap *) - clone:
 
(FSBitmap *) - convertFormat:
 
(FSBitmap *) - convertFormat:icc_transform:
 
(void) - dealloc
 
(FSRectI *) - detectBBoxByColorDiffer:
 
(FSRectI *) - detectBBoxByColorDiffer:color_differ:
 
(FSBitmap *) - fadeOutBackground:threshold_algorithms:threshold_level:
 
(void) - fillRect:
 
(void) - fillRect:rect:
 
(FSBitmap *) - flip:is_flip_vert:
 
(int) - getBpp
 
(NSData *) - getBuffer
 
(void *) - getCptr
 
(FSBitmapDIBFormat- getFormat
 
(int) - getHeight
 
(FSBitmap *) - getMask
 
(FSBitmap *) - getMask:
 
(int) - getPitch
 
(int) - getWidth
 
(id) - init
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithOther:
 
(id) - initWithWidth:height:format:
 
(id) - initWithWidth:height:format:buffer:
 
(id) - initWithWidth:height:format:buffer:pitch:
 
(BOOL) - isEmpty
 
(FSBitmap *) - stretchTo:dest_height:flag:
 
(FSBitmap *) - stretchTo:dest_height:flag:clip_rect:
 
(FSBitmap *) - swapXY:is_flip_vert:
 
(FSBitmap *) - swapXY:is_flip_vert:clip_rect:
 
(FSBitmap *) - transformTo:flag:out_left:out_top:
 
(FSBitmap *) - transformTo:flag:out_left:out_top:clip_rect:
 

Additional Inherited Members

- Protected Attributes inherited from FSBase
BOOL swigCMemOwn
 
void * swigCPtr
 

Detailed Description

Bitmap is one of most important data structures in Foxit PDF SDK. It is commonly used for rendering. This class can construct a new bitmap object (not retrieved from other object) and offer methods to get information or operate the bitmap.

Method Documentation

◆ calculateBBoxByColor:

- (FSRectI*) calculateBBoxByColor: (unsigned int)  backgroud_color

◆ clone

- (FSBitmap*) clone

◆ clone:

- (FSBitmap*) clone: (FSRectI *)  clip_rect

◆ convertFormat:

- (FSBitmap*) convertFormat: (FSBitmapDIBFormat format

◆ convertFormat:icc_transform:

- (FSBitmap*) convertFormat: (FSBitmapDIBFormat format
icc_transform: (NSData *)  icc_transform 

◆ dealloc

- (void) dealloc

Reimplemented from FSBase.

◆ detectBBoxByColorDiffer:

- (FSRectI*) detectBBoxByColorDiffer: (int)  detection_size

◆ detectBBoxByColorDiffer:color_differ:

- (FSRectI*) detectBBoxByColorDiffer: (int)  detection_size
color_differ: (int)  color_differ 

◆ fadeOutBackground:threshold_algorithms:threshold_level:

- (FSBitmap*) fadeOutBackground: (FSBitmapFadeOutEnhancementAlgorithm enchancement_algorithms
threshold_algorithms: (FSBitmapFadeOutThresholdAlogrithm threshold_algorithms
threshold_level: (float)  threshold_level 

◆ fillRect:

- (void) fillRect: (unsigned int)  color

◆ fillRect:rect:

- (void) fillRect: (unsigned int)  color
rect: (FSRectI *)  rect 

◆ flip:is_flip_vert:

- (FSBitmap*) flip: (BOOL)  is_flip_horz
is_flip_vert: (BOOL)  is_flip_vert 

◆ getBpp

- (int) getBpp

◆ getBuffer

- (NSData *) getBuffer

◆ getCptr

- (void*) getCptr

Reimplemented from FSBase.

◆ getFormat

- (FSBitmapDIBFormat) getFormat

◆ getHeight

- (int) getHeight

◆ getMask

- (FSBitmap*) getMask

◆ getMask:

- (FSBitmap*) getMask: (FSRectI *)  clip_rect

◆ getPitch

- (int) getPitch

◆ getWidth

- (int) getWidth

◆ init

- (id) init

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

Reimplemented from FSBase.

◆ initWithOther:

- (id) initWithOther: (FSBitmap *)  other

◆ initWithWidth:height:format:

- (id) initWithWidth: (int)  width
height: (int)  height
format: (FSBitmapDIBFormat format 

◆ initWithWidth:height:format:buffer:

- (id) initWithWidth: (int)  width
height: (int)  height
format: (FSBitmapDIBFormat format
buffer: (NSData *)  buffer 

◆ initWithWidth:height:format:buffer:pitch:

- (id) initWithWidth: (int)  width
height: (int)  height
format: (FSBitmapDIBFormat format
buffer: (NSData *)  buffer
pitch: (int)  pitch 

◆ isEmpty

- (BOOL) isEmpty

◆ stretchTo:dest_height:flag:

- (FSBitmap*) stretchTo: (int)  dest_width
dest_height: (int)  dest_height
flag: (FSBitmapInterpolationFlag flag 

◆ stretchTo:dest_height:flag:clip_rect:

- (FSBitmap*) stretchTo: (int)  dest_width
dest_height: (int)  dest_height
flag: (FSBitmapInterpolationFlag flag
clip_rect: (FSRectI *)  clip_rect 

◆ swapXY:is_flip_vert:

- (FSBitmap*) swapXY: (BOOL)  is_flip_horz
is_flip_vert: (BOOL)  is_flip_vert 

◆ swapXY:is_flip_vert:clip_rect:

- (FSBitmap*) swapXY: (BOOL)  is_flip_horz
is_flip_vert: (BOOL)  is_flip_vert
clip_rect: (FSRectI *)  clip_rect 

◆ transformTo:flag:out_left:out_top:

- (FSBitmap*) transformTo: (FSMatrix2D *)  matrix
flag: (FSBitmapInterpolationFlag flag
out_left: (int *)  out_left
out_top: (int *)  out_top 

◆ transformTo:flag:out_left:out_top:clip_rect:

- (FSBitmap*) transformTo: (FSMatrix2D *)  matrix
flag: (FSBitmapInterpolationFlag flag
out_left: (int *)  out_left
out_top: (int *)  out_top
clip_rect: (FSRectI *)  clip_rect