struct Eagle::TrueType::Bitmap

Overview

--- rasterising --- A rasterized glyph: coverage values from 0 to 1, plus its offset from the pen position.

Defined in:

eagle/graphics/truetype.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32, coverage : Slice(Float32), left : Int32, top : Int32) #

Instance Method Detail

def clone #

def copy_with(width _width = @width, height _height = @height, coverage _coverage = @coverage, left _left = @left, top _top = @top) #

def coverage : Slice(Float32) #

def height : Int32 #

def left : Int32 #

def to_image : Image #

Converts to a white RGBA image whose alpha is the coverage.


def top : Int32 #

def width : Int32 #