|
@@ -4547,11 +4547,14 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
CPDFListStampAnnotation *newAnnotation = nil;
|
|
|
if ([(CPDFListStampAnnotation*)an pImage]) {
|
|
|
newAnnotation = [[CPDFListStampAnnotation alloc] initWithDocument:self.document image:[(CPDFListStampAnnotation*)an pImage]];
|
|
|
- newAnnotation.bounds = an.bounds;
|
|
|
- [(CPDFListStampAnnotation *)newAnnotation setBorderBoundsWithStamp:[(CPDFListStampAnnotation*)an stamp]];
|
|
|
- if ([(CPDFListStampAnnotation *)an stamp].stampCategoryType == 7) {
|
|
|
- [(CPDFListStampAnnotation *)newAnnotation setBorderBoundsWithImage:[(CPDFListStampAnnotation*)an pImage]];
|
|
|
+ newAnnotation.bounds = CGRectMake(an.bounds.origin.x + 10, an.bounds.origin.y - 10, an.bounds.size.width, an.bounds.size.height);
|
|
|
+
|
|
|
+ if ([(CPDFListStampAnnotation*)an stamp] != nil) {
|
|
|
+ [(CPDFListStampAnnotation *)newAnnotation setBorderBoundsWithStamp:[(CPDFListStampAnnotation*)an stamp]];
|
|
|
}
|
|
|
+// if ([(CPDFListStampAnnotation *)an stamp].stampCategoryType == 7) {
|
|
|
+ [(CPDFListStampAnnotation *)newAnnotation setBorderBoundsWithImage:[(CPDFListStampAnnotation*)an pImage]];
|
|
|
+// }
|
|
|
} else if ([(CPDFListStampAnnotation*)an stamp]) {
|
|
|
CStampSignatureObject *stamp = [(CPDFListStampAnnotation*)an stamp];
|
|
|
if (CPDFStampTypeStandard == stamp.stampCategoryType) {
|