Repository URL to install this package:
|
Version:
1.0 ▾
|
!<arch>
__.PKGDEF 0 0 0 644 6992 `
go object linux amd64 go1.6 X:none
build id "bb4c41739be056bb190946c14d76fae5992f7016"
$$
package draw
import image "image"
import color "image/color"
import imageutil "image/internal/imageutil"
type @"image/color".Color interface { RGBA() (@"image/color".r uint32, @"image/color".g uint32, @"image/color".b uint32, @"image/color".a uint32) }
type @"image".Point struct { X int; Y int }
func (@"image".p·2 @"image".Point) Add (@"image".q·3 @"image".Point) (? @"image".Point) { return (@"image".Point{ X:@"image".p·2.X + @"image".q·3.X, Y:@"image".p·2.Y + @"image".q·3.Y }) }
func (@"image".p·2 @"image".Point) Div (@"image".k·3 int) (? @"image".Point) { return (@"image".Point{ X:@"image".p·2.X / @"image".k·3, Y:@"image".p·2.Y / @"image".k·3 }) }
func (@"image".p·2 @"image".Point) Eq (@"image".q·3 @"image".Point) (? bool) { return @"image".p·2 == @"image".q·3 }
func (@"image".p·2 @"image".Point) In (@"image".r·3 @"image".Rectangle) (? bool) { return @"image".r·3.Min.X <= @"image".p·2.X && @"image".p·2.X < @"image".r·3.Max.X && @"image".r·3.Min.Y <= @"image".p·2.Y && @"image".p·2.Y < @"image".r·3.Max.Y }
func (@"image".p·2 @"image".Point) Mod (@"image".r·3 @"image".Rectangle) (? @"image".Point)
func (@"image".p·2 @"image".Point) Mul (@"image".k·3 int) (? @"image".Point) { return (@"image".Point{ X:@"image".p·2.X * @"image".k·3, Y:@"image".p·2.Y * @"image".k·3 }) }
func (@"image".p·2 @"image".Point) String () (? string)
func (@"image".p·2 @"image".Point) Sub (@"image".q·3 @"image".Point) (? @"image".Point) { return (@"image".Point{ X:@"image".p·2.X - @"image".q·3.X, Y:@"image".p·2.Y - @"image".q·3.Y }) }
type @"image/color".Model interface { Convert(@"image/color".c @"image/color".Color) (? @"image/color".Color) }
type @"image".Rectangle struct { Min @"image".Point; Max @"image".Point }
func (@"image".r·2 @"image".Rectangle) Add (@"image".p·3 @"image".Point) (? @"image".Rectangle) { return (@"image".Rectangle{ Min:(@"image".Point{ X:@"image".r·2.Min.X + @"image".p·3.X, Y:@"image".r·2.Min.Y + @"image".p·3.Y }), Max:(@"image".Point{ X:@"image".r·2.Max.X + @"image".p·3.X, Y:@"image".r·2.Max.Y + @"image".p·3.Y }) }) }
func (@"image".r·2 @"image".Rectangle) At (@"image".x·3 int, @"image".y·4 int) (? @"image/color".Color) { if (@"image".Point{ X:@"image".x·3, Y:@"image".y·4 }).In(@"image".r·2) { return @"image/color".Opaque }; return @"image/color".Transparent }
func (@"image".r·2 @"image".Rectangle) Bounds () (? @"image".Rectangle) { return @"image".r·2 }
func (@"image".r·2 @"image".Rectangle) Canon () (? @"image".Rectangle) { if @"image".r·2.Max.X < @"image".r·2.Min.X { @"image".r·2.Min.X, @"image".r·2.Max.X = @"image".r·2.Max.X, @"image".r·2.Min.X }; if @"image".r·2.Max.Y < @"image".r·2.Min.Y { @"image".r·2.Min.Y, @"image".r·2.Max.Y = @"image".r·2.Max.Y, @"image".r·2.Min.Y }; return @"image".r·2 }
func (@"image".r·2 @"image".Rectangle) ColorModel () (? @"image/color".Model) { return @"image/color".Alpha16Model }
func (@"image".r·2 @"image".Rectangle) Dx () (? int) { return @"image".r·2.Max.X - @"image".r·2.Min.X }
func (@"image".r·2 @"image".Rectangle) Dy () (? int) { return @"image".r·2.Max.Y - @"image".r·2.Min.Y }
func (@"image".r·2 @"image".Rectangle) Empty () (? bool) { return @"image".r·2.Min.X >= @"image".r·2.Max.X || @"image".r·2.Min.Y >= @"image".r·2.Max.Y }
func (@"image".r·2 @"image".Rectangle) Eq (@"image".s·3 @"image".Rectangle) (? bool) { return @"image".r·2 == @"image".s·3 || @"image".r·2.Empty() && @"image".s·3.Empty() }
func (@"image".r·2 @"image".Rectangle) In (@"image".s·3 @"image".Rectangle) (? bool) { if @"image".r·2.Empty() { return bool(true) }; return @"image".s·3.Min.X <= @"image".r·2.Min.X && @"image".r·2.Max.X <= @"image".s·3.Max.X && @"image".s·3.Min.Y <= @"image".r·2.Min.Y && @"image".r·2.Max.Y <= @"image".s·3.Max.Y }
func (@"image".r·2 @"image".Rectangle) Inset (@"image".n·3 int) (? @"image".Rectangle)
func (@"image".r·2 @"image".Rectangle) Intersect (@"image".s·3 @"image".Rectangle) (? @"image".Rectangle)
func (@"image".r·2 @"image".Rectangle) Overlaps (@"image".s·3 @"image".Rectangle) (? bool)
func (@"image".r·2 @"image".Rectangle) Size () (? @"image".Point) { return (@"image".Point{ X:@"image".r·2.Max.X - @"image".r·2.Min.X, Y:@"image".r·2.Max.Y - @"image".r·2.Min.Y }) }
func (@"image".r·2 @"image".Rectangle) String () (? string)
func (@"image".r·2 @"image".Rectangle) Sub (@"image".p·3 @"image".Point) (? @"image".Rectangle) { return (@"image".Rectangle{ Min:(@"image".Point{ X:@"image".r·2.Min.X - @"image".p·3.X, Y:@"image".r·2.Min.Y - @"image".p·3.Y }), Max:(@"image".Point{ X:@"image".r·2.Max.X - @"image".p·3.X, Y:@"image".r·2.Max.Y - @"image".p·3.Y }) }) }
func (@"image".r·2 @"image".Rectangle) Union (@"image".s·3 @"image".Rectangle) (? @"image".Rectangle)
type @"".Image interface { At(@"image".x int, @"image".y int) (? @"image/color".Color); Bounds() (? @"image".Rectangle); ColorModel() (? @"image/color".Model); Set(@"".x int, @"".y int, @"".c @"image/color".Color) }
type @"image/color".Palette []@"image/color".Color
func (@"image/color".p·2 @"image/color".Palette "esc:0x2a") Convert (@"image/color".c·3 @"image/color".Color) (? @"image/color".Color)
func (@"image/color".p·2 @"image/color".Palette "esc:0x9") Index (@"image/color".c·3 @"image/color".Color) (? int)
type @"image".Image interface { At(@"image".x int, @"image".y int) (? @"image/color".Color); Bounds() (? @"image".Rectangle); ColorModel() (? @"image/color".Model) }
type @"".Quantizer interface { Quantize(@"".p @"image/color".Palette, @"".m @"image".Image) (? @"image/color".Palette) }
type @"".Op int
func (@"".op·1 @"".Op) Draw (@"".dst·2 @"".Image, @"".r·3 @"image".Rectangle, @"".src·4 @"image".Image, @"".sp·5 @"image".Point)
const @"".Over @"".Op = 0x0
const @"".Src @"".Op = 0x1
type @"".Drawer interface { Draw(@"".dst @"".Image, @"".r @"image".Rectangle, @"".src @"image".Image, @"".sp @"image".Point) }
var @"".FloydSteinberg @"".Drawer
func @"".Draw (@"".dst·1 @"".Image, @"".r·2 @"image".Rectangle, @"".src·3 @"image".Image, @"".sp·4 @"image".Point, @"".op·5 @"".Op)
func @"".DrawMask (@"".dst·1 @"".Image, @"".r·2 @"image".Rectangle, @"".src·3 @"image".Image, @"".sp·4 @"image".Point, @"".mask·5 @"image".Image, @"".mp·6 @"image".Point, @"".op·7 @"".Op)
func @"".init ()
type @"image/color".Alpha16 struct { A uint16 }
func (@"image/color".c·5 @"image/color".Alpha16) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { @"image/color".a·4 = uint32(@"image/color".c·5.A); return @"image/color".a·4, @"image/color".a·4, @"image/color".a·4, @"image/color".a·4 }
var @"image/color".Opaque @"image/color".Alpha16
var @"image/color".Transparent @"image/color".Alpha16
var @"image/color".Alpha16Model @"image/color".Model
$$
_go_.o 0 0 0 644 84618 `
go object linux amd64 go1.6 X:none
!
go13ldimage.aimage/color.a4image/internal/imageutil.a þ"".Op.Draw à àdH% HD$øH;AÇ Hì 1ÉH$ H$H$ H\$H$¨ H\$H$° H\$H$¸ H\$ H$À H\$(H$È H\$0H$Ð H\$8H$Ø H\$@H$à H\$H1ÛH\$PH\$XHL$xHL$`H$ HL$hH$ H\$pè HĈ Ãè éÿÿÿÌÌÌÌÌÌÌ
¦ "".DrawMask À 0runtime.morestack_noctxt ° "".autotmp_0002 type.image.Point
"".sp type.image.Point "".src p type.image.Image "".r 0(type.image.Rectangle "".dst type."".Image
"".op type."".Op ¿ ð \¸ Ò Tgclocals·53c7667477e950feba4c8f0f6f5b2e07 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb <$GOROOT/src/image/draw/draw.goþ,"".floydSteinberg.Draw à àdH% H;aS HìxH$ H$H$ H\$H$ H\$H$° H\$H$¸ H\$ H$À H\$(1ÛH\$0H\$8HÇD$@ è H$ H$ HT$`H$ H$¨ HD$pH\$XHL$hH9Ë H9ÂÀ<