Documentation ¶
Index ¶
- func NullBrushWin() *nullBrushWin
- func NullPenWin() *nullPenWin
- type BitmapWin
- type BrushWin
- type CanvasWin
- func (this *CanvasWin) Dispose()
- func (this *CanvasWin) DrawCircle(pen draw.IPen, center draw.Point, radius int) error
- func (this *CanvasWin) DrawEllipse(pen draw.IPen, rect draw.Rectangle) error
- func (this *CanvasWin) DrawImage(image draw.IImage, location draw.Point) error
- func (this *CanvasWin) DrawLine(pen draw.IPen, from, to draw.Point) error
- func (this *CanvasWin) DrawRectangle(pen draw.IPen, rect draw.Rectangle) error
- func (this *CanvasWin) FillCircle(brush draw.IBrush, center draw.Point, radius int) error
- func (this *CanvasWin) FillEllipse(brush draw.IBrush, rect draw.Rectangle) error
- func (this *CanvasWin) FillRectangle(brush draw.IBrush, rect draw.Rectangle) error
- func (this *CanvasWin) HDC() win.HDC
- func (this *CanvasWin) PaintImage(image draw.IImage, f func() error) error
- type CosmeticPenWin
- type GeometricPenWin
- type PenWin
- type SolidColorBrushWin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NullBrushWin ¶
func NullBrushWin() *nullBrushWin
func NullPenWin ¶
func NullPenWin() *nullPenWin
Types ¶
type BitmapWin ¶
type BitmapWin struct {
// contains filtered or unexported fields
}
func (*BitmapWin) SaveToFile ¶
type CanvasWin ¶
type CanvasWin struct {
// contains filtered or unexported fields
}
func NewCanvasWin ¶
func (*CanvasWin) DrawCircle ¶
func (*CanvasWin) DrawEllipse ¶
func (*CanvasWin) DrawRectangle ¶
func (*CanvasWin) FillCircle ¶
func (*CanvasWin) FillEllipse ¶
func (*CanvasWin) FillRectangle ¶
type CosmeticPenWin ¶
func NewCosmeticPenWin ¶
func (*CosmeticPenWin) Color ¶
func (this *CosmeticPenWin) Color() draw.Color
func (*CosmeticPenWin) Dispose ¶
func (this *CosmeticPenWin) Dispose()
func (*CosmeticPenWin) Style ¶
func (this *CosmeticPenWin) Style() draw.PenStyle
func (*CosmeticPenWin) Width ¶
func (this *CosmeticPenWin) Width() int
type GeometricPenWin ¶
type GeometricPenWin struct {
// contains filtered or unexported fields
}
func NewGeometricPenWin ¶
func (*GeometricPenWin) Brush ¶
func (this *GeometricPenWin) Brush() draw.IBrush
func (*GeometricPenWin) Dispose ¶
func (this *GeometricPenWin) Dispose()
func (*GeometricPenWin) Style ¶
func (this *GeometricPenWin) Style() draw.PenStyle
func (*GeometricPenWin) Width ¶
func (this *GeometricPenWin) Width() int
type SolidColorBrushWin ¶
type SolidColorBrushWin struct {
// contains filtered or unexported fields
}
func NewSolidColorBrush ¶
func NewSolidColorBrush(color draw.Color) (*SolidColorBrushWin, error)
func (*SolidColorBrushWin) Color ¶
func (this *SolidColorBrushWin) Color() draw.Color
func (*SolidColorBrushWin) Dispose ¶
func (this *SolidColorBrushWin) Dispose()
Click to show internal directories.
Click to hide internal directories.