mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 15:06:46 +08:00
This commit is contained in:
1 parent
19dc79e8e3
commit
a710bc5f41
68 files changed
+2149
-724
No files matched your search
@@ -96,7 +96,7 @@ func (e *Editor) FlipSelection(page int, objects, annotations []string, axis str
|
||||
// 入参: page 页面索引, objects 正文标识, annotations 注解标识, box 页面毫米目标范围
|
||||
// 返回: error 标识、度量或编辑错误
|
||||
func (e *Editor) ResizeSelection(page int, objects, annotations []string, box Box) error {
|
||||
if _, err := creationBox(editorBoxString(box)); err != nil {
|
||||
if err := validateCreationBox(box); err != nil {
|
||||
return err
|
||||
}
|
||||
bounds, err := e.SelectionBounds(page, objects, annotations)
|
||||
|
||||
Reference in new issue
Block a user