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, q *qrcode.QRCode) *ArticlePoster
func (*ArticlePoster) CheckNotExistMergedImg ¶
func (ap *ArticlePoster) CheckNotExistMergedImg(path string) bool
func (*ArticlePoster) OpenMergedImg ¶
func (ap *ArticlePoster) OpenMergedImg(path string) (*os.File, error)
type ArticlePosterBG ¶
type ArticlePosterBG struct { Name string *ArticlePoster *Rect *Point }
func NewArticlePosterBG ¶
func NewArticlePosterBG(name string, ap *ArticlePoster, rect *Rect, p *Point) *ArticlePosterBG
func (*ArticlePosterBG) OpenBackGroundImg ¶
func (apb *ArticlePosterBG) OpenBackGroundImg(path string) (*os.File, error)
Click to show internal directories.
Click to hide internal directories.