Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / BitmapRenderer Class
Properties Methods

In This Topic
    BitmapRenderer Class Members
    In This Topic

    The following tables list the members exposed by BitmapRenderer.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether the graphic objects are drawn without anti-aliasing.  
    Public PropertyGets or sets a bitmap providing background for all drawing and filling operations.

    The same bitmap cannot be used as background and target at the same time.

    The background bitmap must be of the same pixel size as the target bitmap.

     
    Public PropertyGets or sets a value indicating that copying pixels from the BackgroundBitmap to the target bitmap should not be marked as changed in the UpdatedPixelMask.

    The default is false, indicating that pixels copied from the background bitmap to the target are marked as changed.

     
    Public PropertyGets the target bitmap.  
    Public PropertyGets or sets the method of mixing source and destination colors when drawing.

    Default is GrapeCity.Documents.Drawing.BlendMode.Normal.

     
    Public PropertyGets or sets a rectangle, in pixels, to which all subsequent drawing operations are clipped.  
    Public PropertyGets or sets a region to which the subsequient drawing operations are clipped.  
    Public PropertyGets or sets a value specifying whether a GrapeCity.Documents.Text.TextLayout is always drawn with antialiasing regardless the value of the Aliased property.  
    Public PropertyGets or sets the sampling mode to use when drawing bitmaps with resizing.

    Default is GrapeCity.Documents.Drawing.InterpolationMode.Linear.

     
    Public PropertyGets or sets a value indicating whether the rendering engine uses multiple threads to boost performance.  
    Public PropertyGets or sets a value indicating whether the antialiasing algorithm should produce better quality with lower speed.  
    Public PropertyGets or sets the world transformation matrix.  
    Public PropertyGets or sets the inverted world transformation matrix. Used for filling regions with gradient brushes.

    TransformInverse is automatically updated when the Transform property is changed.

     
    Public PropertyGets or sets a grayscale bitmap providing transparency mask for all drawing and filling operations.

    Pixels in the mask with value 0 are fully opaque and will completely mask any drawing (i.e. the pixels of the target bitmap will remain unchanged). Pixels in the mask with value 255 are fully transparent, i.e. any drawing will have the same effect as if there was no mask. Pixels with values between 0 and 255 will modify the transparency of the pixels being drawn according to their value.

    Note that the transparency mask bitmap must be of the same pixel size as the target bitmap.

     
    Public PropertyGets or sets a BilevelBitmap that can be used to monitor changes in the target bitmap. Its pixels are used as boolean flags indicating changes in the target. When a pixel in the target bitmap is changed, the corresponding pixel in this bitmap is set to 1 (true). The BilevelBitmap must have the same pixel size as the target bitmap. It is user's responsibility to clear this bitmap (fill it with zeros) before any drawing on the target occurs.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Clears the image with the specified color.  
    Public MethodDraws a Bitmap at the specified location and with the specified size.  
    Public MethodDraws a GrapeCity.Documents.Text.TextLayout at the given location.  
    Public MethodOverloaded. Fills a GraphicsPath with a solid color.  
    Public MethodOverloaded. Fills a Region with a solid color.  
    Top
    See Also