Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPosterFlag ¶
func GetPosterFlag() string
Types ¶
type Article ¶
type ArticlePoster ¶
func NewArticlePoster ¶
func NewArticlePoster(posterName string, article *Article, qr *qrcode.QrCode) *ArticlePoster
func (*ArticlePoster) CheckMergedImage ¶
func (a *ArticlePoster) CheckMergedImage(path string) bool
func (*ArticlePoster) OpenMergedImage ¶
func (a *ArticlePoster) OpenMergedImage(path string) (*os.File, error)
type ArticlePosterBg ¶
type ArticlePosterBg struct { Name string *ArticlePoster *Rect *Pt }
func NewArticlePosterBg ¶
func NewArticlePosterBg(name string, ap *ArticlePoster, rect *Rect, pt *Pt) *ArticlePosterBg
func (*ArticlePosterBg) DrawPoster ¶
func (a *ArticlePosterBg) DrawPoster(d *DrawText, fontName string) error
Click to show internal directories.
Click to hide internal directories.