spire-pdf 11.6.1__py3-none-manylinux2014_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of spire-pdf might be problematic. Click here for more details.
- spire/__init__.py +0 -0
- spire/pdf/ArtifactPropertyList.py +13 -0
- spire/pdf/AspectRatio.py +16 -0
- spire/pdf/BookletOptions.py +40 -0
- spire/pdf/Clip.py +16 -0
- spire/pdf/Collections_PdfCollection.py +121 -0
- spire/pdf/CompressionLevel.py +26 -0
- spire/pdf/ConfiguerGraphicType.py +18 -0
- spire/pdf/CustomFieldType.py +20 -0
- spire/pdf/DataFormat.py +16 -0
- spire/pdf/DocxOptions.py +228 -0
- spire/pdf/FileFormat.py +26 -0
- spire/pdf/FileRelatedFieldType.py +24 -0
- spire/pdf/Find_TextFindParameter.py +17 -0
- spire/pdf/GraphicMode.py +17 -0
- spire/pdf/HtmlConverter.py +564 -0
- spire/pdf/HtmlToPdfLayoutParams.py +93 -0
- spire/pdf/HtmlToPdfResult.py +36 -0
- spire/pdf/HttpMethod.py +14 -0
- spire/pdf/HttpReadType.py +15 -0
- spire/pdf/IOCSPService.py +27 -0
- spire/pdf/IPdfComboBoxField.py +388 -0
- spire/pdf/IPdfSignatureAppearance.py +20 -0
- spire/pdf/IPdfSignatureFormatter.py +31 -0
- spire/pdf/IPdfTextBoxField.py +305 -0
- spire/pdf/IStructureNode.py +12 -0
- spire/pdf/ITSAService.py +27 -0
- spire/pdf/ImageFormatType.py +16 -0
- spire/pdf/ImageQuality.py +15 -0
- spire/pdf/ImageType.py +14 -0
- spire/pdf/ImgData.py +208 -0
- spire/pdf/LayerExportState.py +15 -0
- spire/pdf/LayerPrintState.py +20 -0
- spire/pdf/LayerViewState.py +20 -0
- spire/pdf/LineBorder.py +73 -0
- spire/pdf/LineInfo.py +53 -0
- spire/pdf/LineType.py +17 -0
- spire/pdf/LoadHtmlType.py +18 -0
- spire/pdf/MergerOptions.py +39 -0
- spire/pdf/OCSPHttpService.py +32 -0
- spire/pdf/OfdConverter.py +89 -0
- spire/pdf/OptimizationOptions.py +85 -0
- spire/pdf/PDF3DAnimationType.py +15 -0
- spire/pdf/Pdf3DActivation.py +113 -0
- spire/pdf/Pdf3DActivationMode.py +20 -0
- spire/pdf/Pdf3DActivationState.py +14 -0
- spire/pdf/Pdf3DAnimation.py +69 -0
- spire/pdf/Pdf3DAnnotation.py +167 -0
- spire/pdf/Pdf3DBackground.py +84 -0
- spire/pdf/Pdf3DCrossSection.py +144 -0
- spire/pdf/Pdf3DCrossSectionCollection.py +117 -0
- spire/pdf/Pdf3DDeactivationMode.py +15 -0
- spire/pdf/Pdf3DDeactivationState.py +15 -0
- spire/pdf/Pdf3DLighting.py +42 -0
- spire/pdf/Pdf3DLightingStyle.py +24 -0
- spire/pdf/Pdf3DNode.py +98 -0
- spire/pdf/Pdf3DNodeCollection.py +123 -0
- spire/pdf/Pdf3DProjection.py +120 -0
- spire/pdf/Pdf3DProjectionClipStyle.py +15 -0
- spire/pdf/Pdf3DProjectionOrthoScaleMode.py +18 -0
- spire/pdf/Pdf3DProjectionType.py +15 -0
- spire/pdf/Pdf3DRenderStyle.py +44 -0
- spire/pdf/Pdf3DRendermode.py +158 -0
- spire/pdf/Pdf3DView.py +213 -0
- spire/pdf/Pdf3DViewCollection.py +124 -0
- spire/pdf/PdfAction.py +31 -0
- spire/pdf/PdfActionAnnotation.py +28 -0
- spire/pdf/PdfActionCollection.py +110 -0
- spire/pdf/PdfActionDestination.py +22 -0
- spire/pdf/PdfActionLinkAnnotation.py +37 -0
- spire/pdf/PdfAlignmentStyle.py +22 -0
- spire/pdf/PdfAnnotation.py +161 -0
- spire/pdf/PdfAnnotationActions.py +202 -0
- spire/pdf/PdfAnnotationBorder.py +86 -0
- spire/pdf/PdfAnnotationCollection.py +164 -0
- spire/pdf/PdfAnnotationException.py +13 -0
- spire/pdf/PdfAnnotationFlags.py +22 -0
- spire/pdf/PdfAnnotationIntent.py +14 -0
- spire/pdf/PdfAnnotationWidget.py +47 -0
- spire/pdf/PdfAnnotationWidgetCollection.py +68 -0
- spire/pdf/PdfAnnotationWidgetTypes.py +46 -0
- spire/pdf/PdfAppearance.py +113 -0
- spire/pdf/PdfAppearanceField.py +26 -0
- spire/pdf/PdfAppearanceState.py +94 -0
- spire/pdf/PdfApplicationData.py +24 -0
- spire/pdf/PdfAttachment.py +39 -0
- spire/pdf/PdfAttachmentAnnotation.py +93 -0
- spire/pdf/PdfAttachmentAnnotationWidget.py +61 -0
- spire/pdf/PdfAttachmentCollection.py +112 -0
- spire/pdf/PdfAttachmentIcon.py +17 -0
- spire/pdf/PdfAttachmentRelationship.py +24 -0
- spire/pdf/PdfAttributeOwner.py +132 -0
- spire/pdf/PdfAutomaticField.py +154 -0
- spire/pdf/PdfBarcode.py +180 -0
- spire/pdf/PdfBarcodeException.py +13 -0
- spire/pdf/PdfBarcodeQuietZones.py +112 -0
- spire/pdf/PdfBarcodeTextAlignment.py +15 -0
- spire/pdf/PdfBitmap.py +112 -0
- spire/pdf/PdfBlend.py +36 -0
- spire/pdf/PdfBlendBase.py +37 -0
- spire/pdf/PdfBlendMode.py +29 -0
- spire/pdf/PdfBookletBindingMode.py +18 -0
- spire/pdf/PdfBookletCreator.py +67 -0
- spire/pdf/PdfBookmark.py +135 -0
- spire/pdf/PdfBookmarkCollection.py +95 -0
- spire/pdf/PdfBookmarkWidget.py +87 -0
- spire/pdf/PdfBorderEffect.py +15 -0
- spire/pdf/PdfBorderOverlapStyle.py +14 -0
- spire/pdf/PdfBorderStyle.py +17 -0
- spire/pdf/PdfBorders.py +113 -0
- spire/pdf/PdfBrush.py +25 -0
- spire/pdf/PdfBrushes.py +1846 -0
- spire/pdf/PdfButtonField.py +221 -0
- spire/pdf/PdfButtonIconLayout.py +92 -0
- spire/pdf/PdfButtonIconScaleMode.py +14 -0
- spire/pdf/PdfButtonIconScaleReason.py +16 -0
- spire/pdf/PdfButtonLayoutMode.py +28 -0
- spire/pdf/PdfButtonWidgetFieldWidget.py +92 -0
- spire/pdf/PdfButtonWidgetItemCollection.py +23 -0
- spire/pdf/PdfButtonWidgetWidgetItem.py +63 -0
- spire/pdf/PdfCalGrayColor.py +44 -0
- spire/pdf/PdfCalGrayColorSpace.py +96 -0
- spire/pdf/PdfCalRGBColor.py +102 -0
- spire/pdf/PdfCalRGBColorSpace.py +132 -0
- spire/pdf/PdfCanvas.py +1714 -0
- spire/pdf/PdfCaretAnnotationWidget.py +21 -0
- spire/pdf/PdfCellStyle.py +126 -0
- spire/pdf/PdfCertificate.py +19 -0
- spire/pdf/PdfCertificationFlags.py +15 -0
- spire/pdf/PdfCheckBoxField.py +47 -0
- spire/pdf/PdfCheckBoxStyle.py +20 -0
- spire/pdf/PdfCheckBoxWidgetFieldWidget.py +61 -0
- spire/pdf/PdfCheckBoxWidgetWidgetItem.py +16 -0
- spire/pdf/PdfCheckBoxWidgetWidgetItemCollection.py +23 -0
- spire/pdf/PdfCheckFieldBase.py +37 -0
- spire/pdf/PdfChoiceWidgetFieldWidget.py +114 -0
- spire/pdf/PdfCjkFontFamily.py +19 -0
- spire/pdf/PdfCjkStandardFont.py +70 -0
- spire/pdf/PdfCodabarBarcode.py +38 -0
- spire/pdf/PdfCode11Barcode.py +36 -0
- spire/pdf/PdfCode128ABarcode.py +36 -0
- spire/pdf/PdfCode128BBarcode.py +28 -0
- spire/pdf/PdfCode128CBarcode.py +14 -0
- spire/pdf/PdfCode32Barcode.py +37 -0
- spire/pdf/PdfCode39Barcode.py +37 -0
- spire/pdf/PdfCode39ExtendedBarcode.py +25 -0
- spire/pdf/PdfCode93Barcode.py +37 -0
- spire/pdf/PdfCode93ExtendedBarcode.py +36 -0
- spire/pdf/PdfCollection.py +46 -0
- spire/pdf/PdfColorBlend.py +37 -0
- spire/pdf/PdfColorMask.py +50 -0
- spire/pdf/PdfColorSpace.py +17 -0
- spire/pdf/PdfColorSpaces.py +12 -0
- spire/pdf/PdfColumn.py +67 -0
- spire/pdf/PdfColumnCollection.py +34 -0
- spire/pdf/PdfComboBoxField.py +47 -0
- spire/pdf/PdfComboBoxWidgetFieldWidget.py +74 -0
- spire/pdf/PdfComboBoxWidgetItemCollection.py +29 -0
- spire/pdf/PdfComboBoxWidgetWidgetItem.py +16 -0
- spire/pdf/PdfCompareOptions.py +82 -0
- spire/pdf/PdfComparer.py +63 -0
- spire/pdf/PdfComplexColor.py +23 -0
- spire/pdf/PdfCompositeField.py +205 -0
- spire/pdf/PdfCompressionLevel.py +42 -0
- spire/pdf/PdfCompressor.py +79 -0
- spire/pdf/PdfConformanceException.py +13 -0
- spire/pdf/PdfConformanceLevel.py +20 -0
- spire/pdf/PdfConvertOptions.py +222 -0
- spire/pdf/PdfCreationDateField.py +81 -0
- spire/pdf/PdfCrossReferenceType.py +16 -0
- spire/pdf/PdfCustomAppearance.py +28 -0
- spire/pdf/PdfDashStyle.py +19 -0
- spire/pdf/PdfDateTimeField.py +91 -0
- spire/pdf/PdfDestination.py +225 -0
- spire/pdf/PdfDestinationMode.py +17 -0
- spire/pdf/PdfDestinationPageNumberField.py +111 -0
- spire/pdf/PdfDeviceColorSpace.py +31 -0
- spire/pdf/PdfDockStyle.py +18 -0
- spire/pdf/PdfDocument.py +1759 -0
- spire/pdf/PdfDocumentActions.py +162 -0
- spire/pdf/PdfDocumentAuthorField.py +67 -0
- spire/pdf/PdfDocumentBase.py +744 -0
- spire/pdf/PdfDocumentException.py +13 -0
- spire/pdf/PdfDocumentInformation.py +207 -0
- spire/pdf/PdfDocumentLinkAnnotation.py +54 -0
- spire/pdf/PdfDocumentLinkAnnotationWidget.py +40 -0
- spire/pdf/PdfDocumentPageCollection.py +79 -0
- spire/pdf/PdfDocumentPrivilege.py +163 -0
- spire/pdf/PdfDocumentTemplate.py +241 -0
- spire/pdf/PdfDrawWidget.py +28 -0
- spire/pdf/PdfDynamicField.py +13 -0
- spire/pdf/PdfEdges.py +99 -0
- spire/pdf/PdfEmbeddedFileSpecification.py +135 -0
- spire/pdf/PdfEmbeddedGoToAction.py +91 -0
- spire/pdf/PdfEncryptionAlgorithm.py +16 -0
- spire/pdf/PdfEncryptionKeySize.py +20 -0
- spire/pdf/PdfException.py +21 -0
- spire/pdf/PdfExtend.py +17 -0
- spire/pdf/PdfExtendedAppearance.py +48 -0
- spire/pdf/PdfField.py +144 -0
- spire/pdf/PdfFieldActions.py +201 -0
- spire/pdf/PdfFieldCollection.py +111 -0
- spire/pdf/PdfFieldWidget.py +154 -0
- spire/pdf/PdfFieldWidgetImportError.py +23 -0
- spire/pdf/PdfFieldWidgetItem.py +80 -0
- spire/pdf/PdfFileAnnotation.py +49 -0
- spire/pdf/PdfFileInfo.py +85 -0
- spire/pdf/PdfFileLinkAnnotation.py +76 -0
- spire/pdf/PdfFileLinkAnnotationWidget.py +39 -0
- spire/pdf/PdfFilePathType.py +14 -0
- spire/pdf/PdfFileSpecificationBase.py +36 -0
- spire/pdf/PdfFillElement.py +31 -0
- spire/pdf/PdfFillMode.py +18 -0
- spire/pdf/PdfFolder.py +100 -0
- spire/pdf/PdfFont.py +61 -0
- spire/pdf/PdfFontBase.py +298 -0
- spire/pdf/PdfFontFamily.py +24 -0
- spire/pdf/PdfFontStyle.py +17 -0
- spire/pdf/PdfFontType.py +20 -0
- spire/pdf/PdfForm.py +123 -0
- spire/pdf/PdfFormAction.py +54 -0
- spire/pdf/PdfFormFieldCollection.py +12 -0
- spire/pdf/PdfFormFieldWidgetCollection.py +84 -0
- spire/pdf/PdfFormWidget.py +148 -0
- spire/pdf/PdfFreeTextAnnotation.py +291 -0
- spire/pdf/PdfFreeTextAnnotationWidget.py +129 -0
- spire/pdf/PdfGoToAction.py +64 -0
- spire/pdf/PdfGotoNameAction.py +32 -0
- spire/pdf/PdfGradientBrush.py +65 -0
- spire/pdf/PdfGraphicsState.py +12 -0
- spire/pdf/PdfGraphicsUnit.py +19 -0
- spire/pdf/PdfGraphicsWidget.py +55 -0
- spire/pdf/PdfGrayConverter.py +60 -0
- spire/pdf/PdfGrid.py +91 -0
- spire/pdf/PdfGridCell.py +110 -0
- spire/pdf/PdfGridCellCollection.py +71 -0
- spire/pdf/PdfGridCellContent.py +158 -0
- spire/pdf/PdfGridCellContentList.py +23 -0
- spire/pdf/PdfGridCellStyle.py +84 -0
- spire/pdf/PdfGridColumn.py +65 -0
- spire/pdf/PdfGridColumnCollection.py +119 -0
- spire/pdf/PdfGridHeaderCollection.py +73 -0
- spire/pdf/PdfGridLayoutFormat.py +12 -0
- spire/pdf/PdfGridLayoutResult.py +12 -0
- spire/pdf/PdfGridRow.py +89 -0
- spire/pdf/PdfGridRowCollection.py +50 -0
- spire/pdf/PdfGridRowStyle.py +35 -0
- spire/pdf/PdfGridStyle.py +105 -0
- spire/pdf/PdfGridStyleBase.py +125 -0
- spire/pdf/PdfHTMLTextElement.py +142 -0
- spire/pdf/PdfHeaderSource.py +14 -0
- spire/pdf/PdfHighlightMode.py +18 -0
- spire/pdf/PdfHorizontalAlignment.py +16 -0
- spire/pdf/PdfHorizontalOverflowType.py +18 -0
- spire/pdf/PdfHtmlLayoutFormat.py +148 -0
- spire/pdf/PdfICCColor.py +48 -0
- spire/pdf/PdfICCColorSpace.py +80 -0
- spire/pdf/PdfImage.py +170 -0
- spire/pdf/PdfImageHelper.py +81 -0
- spire/pdf/PdfImageMask.py +34 -0
- spire/pdf/PdfImageType.py +14 -0
- spire/pdf/PdfInkAnnotation.py +28 -0
- spire/pdf/PdfInkAnnotationWidget.py +21 -0
- spire/pdf/PdfJavaScript.py +214 -0
- spire/pdf/PdfJavaScriptAction.py +48 -0
- spire/pdf/PdfKnownColor.py +39 -0
- spire/pdf/PdfKnownColorSpace.py +61 -0
- spire/pdf/PdfLabColor.py +102 -0
- spire/pdf/PdfLabColorSpace.py +102 -0
- spire/pdf/PdfLaunchAction.py +69 -0
- spire/pdf/PdfLayer.py +128 -0
- spire/pdf/PdfLayerCollection.py +172 -0
- spire/pdf/PdfLayerOutline.py +62 -0
- spire/pdf/PdfLayoutBreakType.py +14 -0
- spire/pdf/PdfLayoutHTMLResult.py +23 -0
- spire/pdf/PdfLayoutParams.py +60 -0
- spire/pdf/PdfLayoutResult.py +41 -0
- spire/pdf/PdfLayoutType.py +15 -0
- spire/pdf/PdfLayoutWidget.py +165 -0
- spire/pdf/PdfLineAnnotation.py +310 -0
- spire/pdf/PdfLineAnnotationWidget.py +241 -0
- spire/pdf/PdfLineBorderStyle.py +17 -0
- spire/pdf/PdfLineCap.py +15 -0
- spire/pdf/PdfLineCaptionType.py +18 -0
- spire/pdf/PdfLineEndingStyle.py +22 -0
- spire/pdf/PdfLineIntent.py +14 -0
- spire/pdf/PdfLineJoin.py +16 -0
- spire/pdf/PdfLinearGradientBrush.py +146 -0
- spire/pdf/PdfLinearGradientMode.py +16 -0
- spire/pdf/PdfLinkAnnotation.py +31 -0
- spire/pdf/PdfList.py +122 -0
- spire/pdf/PdfListBase.py +143 -0
- spire/pdf/PdfListBoxField.py +50 -0
- spire/pdf/PdfListBoxWidgetFieldWidget.py +52 -0
- spire/pdf/PdfListField.py +79 -0
- spire/pdf/PdfListFieldItem.py +83 -0
- spire/pdf/PdfListFieldItemCollection.py +121 -0
- spire/pdf/PdfListFieldWidgetItem.py +16 -0
- spire/pdf/PdfListItem.py +122 -0
- spire/pdf/PdfListItemCollection.py +166 -0
- spire/pdf/PdfListMarkerAlignment.py +14 -0
- spire/pdf/PdfListWidgetFieldItemCollection.py +23 -0
- spire/pdf/PdfListWidgetItem.py +74 -0
- spire/pdf/PdfListWidgetItemCollection.py +64 -0
- spire/pdf/PdfMDPSignatureMaker.py +54 -0
- spire/pdf/PdfMargins.py +170 -0
- spire/pdf/PdfMarkUpAnnotationWidget.py +111 -0
- spire/pdf/PdfMarker.py +100 -0
- spire/pdf/PdfMarkerBase.py +107 -0
- spire/pdf/PdfMask.py +13 -0
- spire/pdf/PdfMatrix.py +269 -0
- spire/pdf/PdfMatrixOrder.py +18 -0
- spire/pdf/PdfMerger.py +57 -0
- spire/pdf/PdfMetafile.py +83 -0
- spire/pdf/PdfMetafileLayoutFormat.py +48 -0
- spire/pdf/PdfMultipleNumberValueField.py +37 -0
- spire/pdf/PdfMultipleValueField.py +12 -0
- spire/pdf/PdfNamedAction.py +37 -0
- spire/pdf/PdfNewDocument.py +117 -0
- spire/pdf/PdfNewPage.py +34 -0
- spire/pdf/PdfNumberStyle.py +18 -0
- spire/pdf/PdfOrderedMarker.py +112 -0
- spire/pdf/PdfOrdinarySignatureMaker.py +32 -0
- spire/pdf/PdfPKCS1Formatter.py +59 -0
- spire/pdf/PdfPKCS7Formatter.py +55 -0
- spire/pdf/PdfPaddings.py +99 -0
- spire/pdf/PdfPageBase.py +665 -0
- spire/pdf/PdfPageCollection.py +384 -0
- spire/pdf/PdfPageCountField.py +92 -0
- spire/pdf/PdfPageLabels.py +124 -0
- spire/pdf/PdfPageLayout.py +26 -0
- spire/pdf/PdfPageMode.py +18 -0
- spire/pdf/PdfPageNumberField.py +67 -0
- spire/pdf/PdfPageOrientation.py +15 -0
- spire/pdf/PdfPageRotateAngle.py +16 -0
- spire/pdf/PdfPageSettings.py +275 -0
- spire/pdf/PdfPageSize.py +389 -0
- spire/pdf/PdfPageTemplateElement.py +271 -0
- spire/pdf/PdfPageTransition.py +172 -0
- spire/pdf/PdfPageWidget.py +45 -0
- spire/pdf/PdfPageWidgetEnumerator.py +54 -0
- spire/pdf/PdfPasswordSecurityPolicy.py +22 -0
- spire/pdf/PdfPath.py +420 -0
- spire/pdf/PdfPen.py +236 -0
- spire/pdf/PdfPens.py +1845 -0
- spire/pdf/PdfPermissionsFlags.py +23 -0
- spire/pdf/PdfPieceInfo.py +42 -0
- spire/pdf/PdfPolyLineAnnotation.py +76 -0
- spire/pdf/PdfPolyLineAnnotationWidget.py +21 -0
- spire/pdf/PdfPolygonAndPolyLineAnnotationWidget.py +21 -0
- spire/pdf/PdfPolygonAnnotation.py +129 -0
- spire/pdf/PdfPolygonAnnotationWidget.py +21 -0
- spire/pdf/PdfPopupAnnotation.py +118 -0
- spire/pdf/PdfPopupAnnotationWidget.py +58 -0
- spire/pdf/PdfPopupIcon.py +19 -0
- spire/pdf/PdfRGBColor.py +351 -0
- spire/pdf/PdfRadialGradientBrush.py +136 -0
- spire/pdf/PdfRadioButtonItemCollection.py +124 -0
- spire/pdf/PdfRadioButtonListField.py +102 -0
- spire/pdf/PdfRadioButtonListFieldWidget.py +114 -0
- spire/pdf/PdfRadioButtonListItem.py +91 -0
- spire/pdf/PdfRadioButtonWidgetItem.py +60 -0
- spire/pdf/PdfRadioButtonWidgetWidgetItemCollection.py +29 -0
- spire/pdf/PdfResetAction.py +40 -0
- spire/pdf/PdfRow.py +36 -0
- spire/pdf/PdfRowCollection.py +50 -0
- spire/pdf/PdfRubberStampAnnotation.py +163 -0
- spire/pdf/PdfRubberStampAnnotationIcon.py +27 -0
- spire/pdf/PdfRubberStampAnnotationWidget.py +40 -0
- spire/pdf/PdfSection.py +91 -0
- spire/pdf/PdfSectionCollection.py +96 -0
- spire/pdf/PdfSectionNumberField.py +67 -0
- spire/pdf/PdfSectionPageCollection.py +112 -0
- spire/pdf/PdfSectionPageCountField.py +64 -0
- spire/pdf/PdfSectionPageNumberField.py +64 -0
- spire/pdf/PdfSectionTemplate.py +102 -0
- spire/pdf/PdfSecurity.py +158 -0
- spire/pdf/PdfSecurityPolicy.py +59 -0
- spire/pdf/PdfSeparationColor.py +36 -0
- spire/pdf/PdfSeparationColorSpace.py +69 -0
- spire/pdf/PdfShapeWidget.py +25 -0
- spire/pdf/PdfSignature.py +97 -0
- spire/pdf/PdfSignatureAppearance.py +153 -0
- spire/pdf/PdfSignatureAppearanceField.py +26 -0
- spire/pdf/PdfSignatureField.py +79 -0
- spire/pdf/PdfSignatureFieldWidget.py +41 -0
- spire/pdf/PdfSignatureMaker.py +165 -0
- spire/pdf/PdfSignatureProperties.py +61 -0
- spire/pdf/PdfSignatureStyledField.py +192 -0
- spire/pdf/PdfSinglePageScalingMode.py +22 -0
- spire/pdf/PdfSingleValueField.py +13 -0
- spire/pdf/PdfSolidBrush.py +78 -0
- spire/pdf/PdfSortedList.py +146 -0
- spire/pdf/PdfSound.py +104 -0
- spire/pdf/PdfSoundAction.py +176 -0
- spire/pdf/PdfSoundAnnotation.py +86 -0
- spire/pdf/PdfSoundAnnotationWidget.py +69 -0
- spire/pdf/PdfSoundChannels.py +18 -0
- spire/pdf/PdfSoundEncoding.py +22 -0
- spire/pdf/PdfSoundIcon.py +15 -0
- spire/pdf/PdfSquareAnnotationWidget.py +45 -0
- spire/pdf/PdfStampCollection.py +115 -0
- spire/pdf/PdfStandardStructTypes.py +630 -0
- spire/pdf/PdfStandardsConverter.py +217 -0
- spire/pdf/PdfStateFieldWidget.py +32 -0
- spire/pdf/PdfStateItemCollection.py +29 -0
- spire/pdf/PdfStateWidgetItem.py +30 -0
- spire/pdf/PdfStateWidgetItemCollection.py +23 -0
- spire/pdf/PdfStaticField.py +13 -0
- spire/pdf/PdfStringFormat.py +284 -0
- spire/pdf/PdfStringLayoutResult.py +54 -0
- spire/pdf/PdfStringLayouter.py +44 -0
- spire/pdf/PdfStructContentItem.py +13 -0
- spire/pdf/PdfStructureAttributes.py +83 -0
- spire/pdf/PdfStructureElement.py +135 -0
- spire/pdf/PdfStructureTreeRoot.py +51 -0
- spire/pdf/PdfStyledAnnotationWidget.py +153 -0
- spire/pdf/PdfStyledField.py +233 -0
- spire/pdf/PdfStyledFieldWidget.py +329 -0
- spire/pdf/PdfSubSuperScript.py +15 -0
- spire/pdf/PdfSubmitAction.py +212 -0
- spire/pdf/PdfSubmitFormFlags.py +25 -0
- spire/pdf/PdfTable.py +421 -0
- spire/pdf/PdfTableDataSourceType.py +15 -0
- spire/pdf/PdfTableException.py +13 -0
- spire/pdf/PdfTableExtractor.py +42 -0
- spire/pdf/PdfTableLayoutFormat.py +42 -0
- spire/pdf/PdfTableLayoutResult.py +22 -0
- spire/pdf/PdfTableStyle.py +199 -0
- spire/pdf/PdfTaggedContent.py +45 -0
- spire/pdf/PdfTemplate.py +124 -0
- spire/pdf/PdfTexBoxWidgetItem.py +12 -0
- spire/pdf/PdfTextAlignment.py +16 -0
- spire/pdf/PdfTextAnnotationIcon.py +19 -0
- spire/pdf/PdfTextAnnotationWidget.py +21 -0
- spire/pdf/PdfTextBoxField.py +220 -0
- spire/pdf/PdfTextBoxFieldWidget.py +212 -0
- spire/pdf/PdfTextBoxWidgetItemCollection.py +29 -0
- spire/pdf/PdfTextExtractOptions.py +75 -0
- spire/pdf/PdfTextExtractor.py +35 -0
- spire/pdf/PdfTextFind.py +308 -0
- spire/pdf/PdfTextFindCollection.py +23 -0
- spire/pdf/PdfTextFindOptions.py +71 -0
- spire/pdf/PdfTextFinder.py +81 -0
- spire/pdf/PdfTextFragment.py +105 -0
- spire/pdf/PdfTextLayout.py +101 -0
- spire/pdf/PdfTextLayoutResult.py +33 -0
- spire/pdf/PdfTextMarkupAnnotation.py +126 -0
- spire/pdf/PdfTextMarkupAnnotationType.py +22 -0
- spire/pdf/PdfTextMarkupAnnotationWidget.py +53 -0
- spire/pdf/PdfTextReplaceOptions.py +37 -0
- spire/pdf/PdfTextReplacer.py +89 -0
- spire/pdf/PdfTextState.py +83 -0
- spire/pdf/PdfTextStyle.py +15 -0
- spire/pdf/PdfTextWebLink.py +63 -0
- spire/pdf/PdfTextWebLinkAnnotationWidget.py +39 -0
- spire/pdf/PdfTextWidget.py +227 -0
- spire/pdf/PdfTilingBrush.py +103 -0
- spire/pdf/PdfToDocConverter.py +123 -0
- spire/pdf/PdfToHtmlParameter.py +48 -0
- spire/pdf/PdfToLinearizedPdfConverter.py +65 -0
- spire/pdf/PdfToWordConverter.py +90 -0
- spire/pdf/PdfTransitionDimension.py +18 -0
- spire/pdf/PdfTransitionDirection.py +17 -0
- spire/pdf/PdfTransitionMotion.py +15 -0
- spire/pdf/PdfTransitionStyle.py +38 -0
- spire/pdf/PdfTrueTypeFont.py +58 -0
- spire/pdf/PdfUnidimensionalBarcode.py +173 -0
- spire/pdf/PdfUnitConvertor.py +151 -0
- spire/pdf/PdfUnorderedMarkerStyle.py +21 -0
- spire/pdf/PdfUriAction.py +30 -0
- spire/pdf/PdfUriAnnotation.py +72 -0
- spire/pdf/PdfUriAnnotationWidget.py +39 -0
- spire/pdf/PdfUsedFont.py +83 -0
- spire/pdf/PdfVersion.py +20 -0
- spire/pdf/PdfVerticalAlignment.py +16 -0
- spire/pdf/PdfViewerPreferences.py +162 -0
- spire/pdf/PdfVisibility.py +15 -0
- spire/pdf/PdfWatermarkAnnotation.py +86 -0
- spire/pdf/PdfWatermarkAnnotationWidget.py +19 -0
- spire/pdf/PdfWebLinkAnnotationWidget.py +21 -0
- spire/pdf/PdfWordWrapType.py +16 -0
- spire/pdf/PrintScalingMode.py +16 -0
- spire/pdf/ReplaceActionType.py +24 -0
- spire/pdf/Security_GraphicMode.py +17 -0
- spire/pdf/Security_IPdfSignatureFormatter.py +27 -0
- spire/pdf/Security_PdfSignature.py +703 -0
- spire/pdf/Security_SignImageLayout.py +18 -0
- spire/pdf/SignImageLayout.py +15 -0
- spire/pdf/SignInfoType.py +22 -0
- spire/pdf/SignTextAlignment.py +15 -0
- spire/pdf/SignatureConfiguerText.py +30 -0
- spire/pdf/SimpleTextExtractionStrategy.py +17 -0
- spire/pdf/StoreType.py +17 -0
- spire/pdf/SubmitDataFormat.py +16 -0
- spire/pdf/TSAHttpService.py +36 -0
- spire/pdf/TabOrder.py +22 -0
- spire/pdf/TableWidthType.py +14 -0
- spire/pdf/TextAlign.py +22 -0
- spire/pdf/TextFindParameter.py +22 -0
- spire/pdf/TextLocation.py +15 -0
- spire/pdf/Utilities_PdfImageInfo.py +68 -0
- spire/pdf/Utilities_PdfTable.py +48 -0
- spire/pdf/XFAForm.py +68 -0
- spire/pdf/XfaBarcodeField.py +84 -0
- spire/pdf/XfaButtonField.py +12 -0
- spire/pdf/XfaCheckButtonField.py +30 -0
- spire/pdf/XfaChoiceListField.py +53 -0
- spire/pdf/XfaDateTimeField.py +43 -0
- spire/pdf/XfaDoubleField.py +30 -0
- spire/pdf/XfaField.py +43 -0
- spire/pdf/XfaFloatField.py +30 -0
- spire/pdf/XfaImageField.py +49 -0
- spire/pdf/XfaIntField.py +30 -0
- spire/pdf/XfaSignatureField.py +12 -0
- spire/pdf/XfaTextField.py +30 -0
- spire/pdf/XlsxLineLayoutOptions.py +69 -0
- spire/pdf/XlsxOptions.py +12 -0
- spire/pdf/XlsxTextLayoutOptions.py +18 -0
- spire/pdf/__init__.py +699 -0
- spire/pdf/common/Boolean.py +194 -0
- spire/pdf/common/Byte.py +258 -0
- spire/pdf/common/Char.py +742 -0
- spire/pdf/common/Color.py +2189 -0
- spire/pdf/common/Common.py +152 -0
- spire/pdf/common/CultureInfo.py +567 -0
- spire/pdf/common/DateTime.py +1149 -0
- spire/pdf/common/Double.py +440 -0
- spire/pdf/common/EmfType.py +25 -0
- spire/pdf/common/Encoding.py +930 -0
- spire/pdf/common/FontStyle.py +27 -0
- spire/pdf/common/GraphicsUnit.py +29 -0
- spire/pdf/common/ICollection.py +73 -0
- spire/pdf/common/IDictionary.py +124 -0
- spire/pdf/common/IEnumerable.py +44 -0
- spire/pdf/common/IEnumerator.py +62 -0
- spire/pdf/common/IList.py +148 -0
- spire/pdf/common/Int16.py +274 -0
- spire/pdf/common/Int32.py +282 -0
- spire/pdf/common/Int64.py +258 -0
- spire/pdf/common/License.py +177 -0
- spire/pdf/common/PixelFormat.py +45 -0
- spire/pdf/common/Point.py +300 -0
- spire/pdf/common/PointF.py +276 -0
- spire/pdf/common/Rectangle.py +451 -0
- spire/pdf/common/RectangleF.py +438 -0
- spire/pdf/common/Regex.py +964 -0
- spire/pdf/common/RegexOptions.py +31 -0
- spire/pdf/common/Single.py +418 -0
- spire/pdf/common/Size.py +273 -0
- spire/pdf/common/SizeF.py +261 -0
- spire/pdf/common/SpireObject.py +81 -0
- spire/pdf/common/Stream.py +552 -0
- spire/pdf/common/String.py +1880 -0
- spire/pdf/common/TimeSpan.py +874 -0
- spire/pdf/common/UInt16.py +274 -0
- spire/pdf/common/UInt32.py +274 -0
- spire/pdf/common/UInt64.py +274 -0
- spire/pdf/common/__init__.py +383 -0
- spire/pdf/lib/Spire.Pdf.Base.so +0 -0
- spire/pdf/lib/__init__.py +0 -0
- spire/pdf/lib/libSkiaSharp.so +0 -0
- spire_pdf-11.6.1.dist-info/METADATA +149 -0
- spire_pdf-11.6.1.dist-info/RECORD +566 -0
- spire_pdf-11.6.1.dist-info/WHEEL +5 -0
- spire_pdf-11.6.1.dist-info/top_level.txt +1 -0
spire/pdf/PdfCanvas.py
ADDED
|
@@ -0,0 +1,1714 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.pdf.common import *
|
|
5
|
+
from spire.pdf import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class PdfCanvas (SpireObject) :
|
|
10
|
+
"""
|
|
11
|
+
The class representing a graphics context of the objects.
|
|
12
|
+
It's used for performing simple graphics operations.
|
|
13
|
+
"""
|
|
14
|
+
@dispatch
|
|
15
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,layoutRectangle:RectangleF,format:PdfStringFormat,htmlTags:bool):
|
|
16
|
+
"""
|
|
17
|
+
Draws the specified text string at the specified location and size
|
|
18
|
+
with the specified Pen and Font objects.
|
|
19
|
+
|
|
20
|
+
Args:
|
|
21
|
+
s (str): The text string.
|
|
22
|
+
font (PdfFontBase): The font.
|
|
23
|
+
pen (PdfPen): The pen.
|
|
24
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
25
|
+
format (PdfStringFormat): The text string format.
|
|
26
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
27
|
+
"""
|
|
28
|
+
intPtrfont:c_void_p = font.Ptr
|
|
29
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
30
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
31
|
+
intPtrformat:c_void_p = format.Ptr
|
|
32
|
+
|
|
33
|
+
GetDllLibPdf().PdfCanvas_DrawString.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
34
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawString,self.Ptr, s,intPtrfont,intPtrpen,intPtrlayoutRectangle,intPtrformat,htmlTags)
|
|
35
|
+
|
|
36
|
+
@dispatch
|
|
37
|
+
|
|
38
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,layoutRectangle:RectangleF,format:PdfStringFormat,htmlTags:bool):
|
|
39
|
+
"""
|
|
40
|
+
Draws the specified text string at the specified location and size
|
|
41
|
+
with the specified Pen, Brush and Font objects.
|
|
42
|
+
|
|
43
|
+
Args:
|
|
44
|
+
s (str): The text string.
|
|
45
|
+
font (PdfFontBase): The font.
|
|
46
|
+
pen (PdfPen): The pen.
|
|
47
|
+
brush (PdfBrush): The brush.
|
|
48
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
49
|
+
format (PdfStringFormat): The text string format.
|
|
50
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
51
|
+
"""
|
|
52
|
+
intPtrfont:c_void_p = font.Ptr
|
|
53
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
54
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
55
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
56
|
+
intPtrformat:c_void_p = format.Ptr
|
|
57
|
+
|
|
58
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBLFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
59
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBLFH,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,intPtrlayoutRectangle,intPtrformat,htmlTags)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def TranslateTransform(self ,offsetX:float,offsetY:float):
|
|
63
|
+
"""
|
|
64
|
+
Translates the coordinates by specified coordinates.
|
|
65
|
+
|
|
66
|
+
Args:
|
|
67
|
+
offsetX (float): The X value by which to translate coordinate system.
|
|
68
|
+
offsetY (float): The Y value by which to translate coordinate system.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
GetDllLibPdf().PdfCanvas_TranslateTransform.argtypes=[c_void_p ,c_float,c_float]
|
|
72
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_TranslateTransform,self.Ptr, offsetX,offsetY)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def ScaleTransform(self ,scaleX:float,scaleY:float):
|
|
76
|
+
"""
|
|
77
|
+
Scales the coordinates by specified coordinates.
|
|
78
|
+
|
|
79
|
+
Args:
|
|
80
|
+
scaleX (float): The value by which to scale coordinate system in the X axis direction.
|
|
81
|
+
scaleY (float): The value by which to scale coordinate system in the Y axis direction.
|
|
82
|
+
"""
|
|
83
|
+
GetDllLibPdf().PdfCanvas_ScaleTransform.argtypes=[c_void_p ,c_float,c_float]
|
|
84
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_ScaleTransform,self.Ptr, scaleX,scaleY)
|
|
85
|
+
|
|
86
|
+
@dispatch
|
|
87
|
+
|
|
88
|
+
def RotateTransform(self ,angle:float,point:PointF):
|
|
89
|
+
"""
|
|
90
|
+
Rotates the coordinate system in clockwise direction around specified point.
|
|
91
|
+
|
|
92
|
+
Args:
|
|
93
|
+
angle (float): The angle of the rotation (in degrees).
|
|
94
|
+
point (PointF): A System.Drawing.PointF that represents the center of the rotation.
|
|
95
|
+
"""
|
|
96
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
97
|
+
|
|
98
|
+
GetDllLibPdf().PdfCanvas_RotateTransform.argtypes=[c_void_p ,c_float,c_void_p]
|
|
99
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_RotateTransform,self.Ptr, angle,intPtrpoint)
|
|
100
|
+
|
|
101
|
+
@dispatch
|
|
102
|
+
|
|
103
|
+
def RotateTransform(self ,angle:float):
|
|
104
|
+
"""
|
|
105
|
+
Rotates the coordinate system in clockwise direction.
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
angle (float): The angle of the rotation (in degrees).
|
|
109
|
+
"""
|
|
110
|
+
GetDllLibPdf().PdfCanvas_RotateTransformA.argtypes=[c_void_p ,c_float]
|
|
111
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_RotateTransformA,self.Ptr, angle)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def SkewTransform(self ,angleX:float,angleY:float):
|
|
115
|
+
"""
|
|
116
|
+
Skews the coordinate system axes.
|
|
117
|
+
|
|
118
|
+
Args:
|
|
119
|
+
angleX (float): Skews the X axis by this angle (in degrees).
|
|
120
|
+
angleY (float): Skews the Y axis by this angle (in degrees).
|
|
121
|
+
"""
|
|
122
|
+
GetDllLibPdf().PdfCanvas_SkewTransform.argtypes=[c_void_p ,c_float,c_float]
|
|
123
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SkewTransform,self.Ptr, angleX,angleY)
|
|
124
|
+
|
|
125
|
+
@dispatch
|
|
126
|
+
|
|
127
|
+
def DrawTemplate(self ,template:'PdfTemplate',location:PointF):
|
|
128
|
+
"""
|
|
129
|
+
Draws a template using its original size, at the specified location.
|
|
130
|
+
|
|
131
|
+
Args:
|
|
132
|
+
template (PdfTemplate): object.
|
|
133
|
+
location (PointF): Location of the template.
|
|
134
|
+
"""
|
|
135
|
+
intPtrtemplate:c_void_p = template.Ptr
|
|
136
|
+
intPtrlocation:c_void_p = location.Ptr
|
|
137
|
+
|
|
138
|
+
GetDllLibPdf().PdfCanvas_DrawTemplate.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
139
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawTemplate,self.Ptr, intPtrtemplate,intPtrlocation)
|
|
140
|
+
|
|
141
|
+
@dispatch
|
|
142
|
+
|
|
143
|
+
def DrawTemplate(self ,template:'PdfTemplate',location:PointF,size:SizeF):
|
|
144
|
+
"""
|
|
145
|
+
Draws a template at the specified location and size.
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
template (PdfTemplate): object.
|
|
149
|
+
location (PointF): Location of the template.
|
|
150
|
+
size (SizeF): Size of the template.
|
|
151
|
+
"""
|
|
152
|
+
intPtrtemplate:c_void_p = template.Ptr
|
|
153
|
+
intPtrlocation:c_void_p = location.Ptr
|
|
154
|
+
intPtrsize:c_void_p = size.Ptr
|
|
155
|
+
|
|
156
|
+
GetDllLibPdf().PdfCanvas_DrawTemplateTLS.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
|
|
157
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawTemplateTLS,self.Ptr, intPtrtemplate,intPtrlocation,intPtrsize)
|
|
158
|
+
|
|
159
|
+
def Flush(self):
|
|
160
|
+
"""
|
|
161
|
+
Flashes this instance.
|
|
162
|
+
"""
|
|
163
|
+
GetDllLibPdf().PdfCanvas_Flush.argtypes=[c_void_p]
|
|
164
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_Flush,self.Ptr)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def Save(self)->'PdfGraphicsState':
|
|
168
|
+
"""
|
|
169
|
+
Saves the current state of this Graphics and identifies the saved state with a GraphicsState.
|
|
170
|
+
|
|
171
|
+
Returns:
|
|
172
|
+
This method returns a GraphicsState that represents the saved state of this Graphics.
|
|
173
|
+
"""
|
|
174
|
+
GetDllLibPdf().PdfCanvas_Save.argtypes=[c_void_p]
|
|
175
|
+
GetDllLibPdf().PdfCanvas_Save.restype=c_void_p
|
|
176
|
+
intPtr = CallCFunction(GetDllLibPdf().PdfCanvas_Save,self.Ptr)
|
|
177
|
+
ret = None if intPtr==None else PdfGraphicsState(intPtr)
|
|
178
|
+
return ret
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
@dispatch
|
|
182
|
+
def Restore(self):
|
|
183
|
+
"""
|
|
184
|
+
Restores the last state of this Graphics.
|
|
185
|
+
"""
|
|
186
|
+
GetDllLibPdf().PdfCanvas_Restore.argtypes=[c_void_p]
|
|
187
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_Restore,self.Ptr)
|
|
188
|
+
|
|
189
|
+
@dispatch
|
|
190
|
+
|
|
191
|
+
def Restore(self ,state:PdfGraphicsState):
|
|
192
|
+
"""
|
|
193
|
+
Restores the state of this Graphics to the state represented by a GraphicsState.
|
|
194
|
+
|
|
195
|
+
Args:
|
|
196
|
+
state (PdfGraphicsState): GraphicsState that represents the state to which to restore this Graphics.
|
|
197
|
+
"""
|
|
198
|
+
intPtrstate:c_void_p = state.Ptr
|
|
199
|
+
|
|
200
|
+
GetDllLibPdf().PdfCanvas_RestoreS.argtypes=[c_void_p ,c_void_p]
|
|
201
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_RestoreS,self.Ptr, intPtrstate)
|
|
202
|
+
|
|
203
|
+
@dispatch
|
|
204
|
+
|
|
205
|
+
def SetClip(self ,rectangle:RectangleF):
|
|
206
|
+
"""
|
|
207
|
+
Modifying the current clipping path by intersecting it with the current path.
|
|
208
|
+
|
|
209
|
+
Args:
|
|
210
|
+
rectangle (RectangleF): Clip rectangle.
|
|
211
|
+
"""
|
|
212
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
213
|
+
|
|
214
|
+
GetDllLibPdf().PdfCanvas_SetClip.argtypes=[c_void_p ,c_void_p]
|
|
215
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetClip,self.Ptr, intPtrrectangle)
|
|
216
|
+
|
|
217
|
+
@dispatch
|
|
218
|
+
|
|
219
|
+
def SetClip(self ,rectangle:RectangleF,mode:PdfFillMode):
|
|
220
|
+
"""
|
|
221
|
+
Modifying the current clipping path by intersecting it with the current path.
|
|
222
|
+
|
|
223
|
+
Args:
|
|
224
|
+
rectangle (RectangleF): Clip rectangle.
|
|
225
|
+
mode (PdfFillMode): The fill mode to determine which regions lie inside the clipping path.
|
|
226
|
+
"""
|
|
227
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
228
|
+
enummode:c_int = mode.value
|
|
229
|
+
|
|
230
|
+
GetDllLibPdf().PdfCanvas_SetClipRM.argtypes=[c_void_p ,c_void_p,c_int]
|
|
231
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetClipRM,self.Ptr, intPtrrectangle,enummode)
|
|
232
|
+
|
|
233
|
+
@dispatch
|
|
234
|
+
|
|
235
|
+
def SetClip(self ,path:'PdfPath'):
|
|
236
|
+
"""
|
|
237
|
+
Modifying the current clipping path by intersecting it with the current path.
|
|
238
|
+
|
|
239
|
+
Args:
|
|
240
|
+
path (PdfPath): Clip path.
|
|
241
|
+
"""
|
|
242
|
+
intPtrpath:c_void_p = path.Ptr
|
|
243
|
+
|
|
244
|
+
GetDllLibPdf().PdfCanvas_SetClipP.argtypes=[c_void_p ,c_void_p]
|
|
245
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetClipP,self.Ptr, intPtrpath)
|
|
246
|
+
|
|
247
|
+
@dispatch
|
|
248
|
+
|
|
249
|
+
def SetClip(self ,path:'PdfPath',mode:PdfFillMode):
|
|
250
|
+
"""
|
|
251
|
+
Modifying the current clipping path by intersecting it with the current path.
|
|
252
|
+
|
|
253
|
+
Args:
|
|
254
|
+
path (PdfPath): Clip path.
|
|
255
|
+
mode (PdfFillMode): The fill mode to determine which regions lie inside the clipping path.
|
|
256
|
+
"""
|
|
257
|
+
intPtrpath:c_void_p = path.Ptr
|
|
258
|
+
enummode:c_int = mode.value
|
|
259
|
+
|
|
260
|
+
GetDllLibPdf().PdfCanvas_SetClipPM.argtypes=[c_void_p ,c_void_p,c_int]
|
|
261
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetClipPM,self.Ptr, intPtrpath,enummode)
|
|
262
|
+
|
|
263
|
+
@dispatch
|
|
264
|
+
|
|
265
|
+
def SetTransparency(self ,alpha:float):
|
|
266
|
+
"""
|
|
267
|
+
Sets the transparency.
|
|
268
|
+
|
|
269
|
+
Args:
|
|
270
|
+
alpha (float): The alpha value for both pen and brush operations.
|
|
271
|
+
"""
|
|
272
|
+
GetDllLibPdf().PdfCanvas_SetTransparency.argtypes=[c_void_p ,c_float]
|
|
273
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetTransparency,self.Ptr, alpha)
|
|
274
|
+
|
|
275
|
+
@dispatch
|
|
276
|
+
|
|
277
|
+
def SetTransparency(self ,alphaPen:float,alphaBrush:float):
|
|
278
|
+
"""
|
|
279
|
+
Sets the transparency.
|
|
280
|
+
|
|
281
|
+
Args:
|
|
282
|
+
alpha (float): The alpha value for both pen and brush operations.
|
|
283
|
+
alphaBrush (float): The alpha value for brush operations.
|
|
284
|
+
"""
|
|
285
|
+
GetDllLibPdf().PdfCanvas_SetTransparencyAA.argtypes=[c_void_p ,c_float,c_float]
|
|
286
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetTransparencyAA,self.Ptr, alphaPen,alphaBrush)
|
|
287
|
+
|
|
288
|
+
@dispatch
|
|
289
|
+
|
|
290
|
+
def SetTransparency(self ,alphaPen:float,alphaBrush:float,blendMode:PdfBlendMode):
|
|
291
|
+
"""
|
|
292
|
+
Sets the transparency.
|
|
293
|
+
|
|
294
|
+
Args:
|
|
295
|
+
alphaPen (float): The alpha value for pen operations.
|
|
296
|
+
alphaBrush (float): The alpha value for brush operations.
|
|
297
|
+
blendMode (PdfBlendMode): The blend mode.
|
|
298
|
+
"""
|
|
299
|
+
enumblendMode:c_int = blendMode.value
|
|
300
|
+
|
|
301
|
+
GetDllLibPdf().PdfCanvas_SetTransparencyAAB.argtypes=[c_void_p ,c_float,c_float,c_int]
|
|
302
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_SetTransparencyAAB,self.Ptr, alphaPen,alphaBrush,enumblendMode)
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
|
|
306
|
+
def Size(self)->'SizeF':
|
|
307
|
+
"""
|
|
308
|
+
Gets the size of the canvas.
|
|
309
|
+
"""
|
|
310
|
+
GetDllLibPdf().PdfCanvas_get_Size.argtypes=[c_void_p]
|
|
311
|
+
GetDllLibPdf().PdfCanvas_get_Size.restype=c_void_p
|
|
312
|
+
intPtr = CallCFunction(GetDllLibPdf().PdfCanvas_get_Size,self.Ptr)
|
|
313
|
+
ret = None if intPtr==None else SizeF(intPtr)
|
|
314
|
+
return ret
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
|
|
319
|
+
def ClientSize(self)->'SizeF':
|
|
320
|
+
"""
|
|
321
|
+
Gets the size of the canvas reduced by margins and page templates.
|
|
322
|
+
"""
|
|
323
|
+
GetDllLibPdf().PdfCanvas_get_ClientSize.argtypes=[c_void_p]
|
|
324
|
+
GetDllLibPdf().PdfCanvas_get_ClientSize.restype=c_void_p
|
|
325
|
+
intPtr = CallCFunction(GetDllLibPdf().PdfCanvas_get_ClientSize,self.Ptr)
|
|
326
|
+
ret = None if intPtr==None else SizeF(intPtr)
|
|
327
|
+
return ret
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
|
|
332
|
+
def ColorSpace(self)->'PdfColorSpace':
|
|
333
|
+
"""
|
|
334
|
+
Gets or sets the current color space.
|
|
335
|
+
"""
|
|
336
|
+
GetDllLibPdf().PdfCanvas_get_ColorSpace.argtypes=[c_void_p]
|
|
337
|
+
GetDllLibPdf().PdfCanvas_get_ColorSpace.restype=c_int
|
|
338
|
+
ret = CallCFunction(GetDllLibPdf().PdfCanvas_get_ColorSpace,self.Ptr)
|
|
339
|
+
objwraped = PdfColorSpace(ret)
|
|
340
|
+
return objwraped
|
|
341
|
+
|
|
342
|
+
@ColorSpace.setter
|
|
343
|
+
def ColorSpace(self, value:'PdfColorSpace'):
|
|
344
|
+
GetDllLibPdf().PdfCanvas_set_ColorSpace.argtypes=[c_void_p, c_int]
|
|
345
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_set_ColorSpace,self.Ptr, value.value)
|
|
346
|
+
|
|
347
|
+
@dispatch
|
|
348
|
+
|
|
349
|
+
def DrawLine(self ,pen:PdfPen,point1:PointF,point2:PointF):
|
|
350
|
+
"""
|
|
351
|
+
Draws a line.
|
|
352
|
+
|
|
353
|
+
Args:
|
|
354
|
+
pen (PdfPen): The pen.
|
|
355
|
+
point1 (PointF): The point1.
|
|
356
|
+
point2 (PointF): The point2.
|
|
357
|
+
"""
|
|
358
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
359
|
+
intPtrpoint1:c_void_p = point1.Ptr
|
|
360
|
+
intPtrpoint2:c_void_p = point2.Ptr
|
|
361
|
+
|
|
362
|
+
GetDllLibPdf().PdfCanvas_DrawLine.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
|
|
363
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawLine,self.Ptr, intPtrpen,intPtrpoint1,intPtrpoint2)
|
|
364
|
+
|
|
365
|
+
@dispatch
|
|
366
|
+
|
|
367
|
+
def DrawLine(self ,pen:PdfPen,x1:float,y1:float,x2:float,y2:float):
|
|
368
|
+
"""
|
|
369
|
+
Draws a line.
|
|
370
|
+
|
|
371
|
+
Args:
|
|
372
|
+
pen (PdfPen): The pen.
|
|
373
|
+
x1 (float): The x1.
|
|
374
|
+
y1 (float): The y1.
|
|
375
|
+
x2 (float): The x2.
|
|
376
|
+
y2 (float): The y2.
|
|
377
|
+
"""
|
|
378
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
379
|
+
|
|
380
|
+
GetDllLibPdf().PdfCanvas_DrawLinePXYXY.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float]
|
|
381
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawLinePXYXY,self.Ptr, intPtrpen,x1,y1,x2,y2)
|
|
382
|
+
|
|
383
|
+
@dispatch
|
|
384
|
+
|
|
385
|
+
def DrawRectangle(self ,pen:PdfPen,rectangle:RectangleF):
|
|
386
|
+
"""
|
|
387
|
+
Draws a line.
|
|
388
|
+
|
|
389
|
+
Args:
|
|
390
|
+
pen (PdfPen): The pen.
|
|
391
|
+
rectangle (RectangleF): The rectangle.
|
|
392
|
+
"""
|
|
393
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
394
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
395
|
+
|
|
396
|
+
GetDllLibPdf().PdfCanvas_DrawRectangle.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
397
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawRectangle,self.Ptr, intPtrpen,intPtrrectangle)
|
|
398
|
+
|
|
399
|
+
@dispatch
|
|
400
|
+
|
|
401
|
+
def DrawRectangle(self ,pen:PdfPen,x:float,y:float,width:float,height:float):
|
|
402
|
+
"""
|
|
403
|
+
Draws a rectangle.
|
|
404
|
+
|
|
405
|
+
Args:
|
|
406
|
+
pen (PdfPen): The pen.
|
|
407
|
+
x (float): The x.
|
|
408
|
+
y (float): The y.
|
|
409
|
+
width (float): The width.
|
|
410
|
+
height (float): The height.
|
|
411
|
+
"""
|
|
412
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
413
|
+
|
|
414
|
+
GetDllLibPdf().PdfCanvas_DrawRectanglePXYWH.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float]
|
|
415
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawRectanglePXYWH,self.Ptr, intPtrpen,x,y,width,height)
|
|
416
|
+
|
|
417
|
+
@dispatch
|
|
418
|
+
|
|
419
|
+
def DrawRectangle(self ,brush:PdfBrush,rectangle:RectangleF):
|
|
420
|
+
"""
|
|
421
|
+
Draws a rectangle.
|
|
422
|
+
|
|
423
|
+
Args:
|
|
424
|
+
brush (PdfBrush): The brush.
|
|
425
|
+
rectangle (RectangleF): The rectangle.
|
|
426
|
+
"""
|
|
427
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
428
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
429
|
+
|
|
430
|
+
GetDllLibPdf().PdfCanvas_DrawRectangleBR.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
431
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawRectangleBR,self.Ptr, intPtrbrush,intPtrrectangle)
|
|
432
|
+
|
|
433
|
+
@dispatch
|
|
434
|
+
|
|
435
|
+
def DrawRectangle(self ,brush:PdfBrush,x:float,y:float,width:float,height:float):
|
|
436
|
+
"""
|
|
437
|
+
Draws a rectangle.
|
|
438
|
+
|
|
439
|
+
Args:
|
|
440
|
+
brush (PdfBrush): The brush.
|
|
441
|
+
x (float): The x.
|
|
442
|
+
y (float): The y.
|
|
443
|
+
width (float): The width.
|
|
444
|
+
height (float): The height.
|
|
445
|
+
"""
|
|
446
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
447
|
+
|
|
448
|
+
GetDllLibPdf().PdfCanvas_DrawRectangleBXYWH.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float]
|
|
449
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawRectangleBXYWH,self.Ptr, intPtrbrush,x,y,width,height)
|
|
450
|
+
|
|
451
|
+
@dispatch
|
|
452
|
+
|
|
453
|
+
def DrawRectangle(self ,pen:PdfPen,brush:PdfBrush,rectangle:RectangleF):
|
|
454
|
+
"""
|
|
455
|
+
Draws a rectangle.
|
|
456
|
+
|
|
457
|
+
Args:
|
|
458
|
+
pen (PdfPen): The pen.
|
|
459
|
+
brush (PdfBrush): The brush.
|
|
460
|
+
rectangle (RectangleF): The rectangle.
|
|
461
|
+
"""
|
|
462
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
463
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
464
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
465
|
+
|
|
466
|
+
GetDllLibPdf().PdfCanvas_DrawRectanglePBR.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
|
|
467
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawRectanglePBR,self.Ptr, intPtrpen,intPtrbrush,intPtrrectangle)
|
|
468
|
+
|
|
469
|
+
@dispatch
|
|
470
|
+
|
|
471
|
+
def DrawRectangle(self ,pen:PdfPen,brush:PdfBrush,x:float,y:float,width:float,height:float):
|
|
472
|
+
"""
|
|
473
|
+
Draws a rectangle.
|
|
474
|
+
|
|
475
|
+
Args:
|
|
476
|
+
pen (PdfPen): The pen.
|
|
477
|
+
brush (PdfBrush): The brush.
|
|
478
|
+
x (float): The x.
|
|
479
|
+
y (float): The y.
|
|
480
|
+
width (float): The width.
|
|
481
|
+
height (float): The height.
|
|
482
|
+
"""
|
|
483
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
484
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
485
|
+
|
|
486
|
+
GetDllLibPdf().PdfCanvas_DrawRectanglePBXYWH.argtypes=[c_void_p ,c_void_p,c_void_p,c_float,c_float,c_float,c_float]
|
|
487
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawRectanglePBXYWH,self.Ptr, intPtrpen,intPtrbrush,x,y,width,height)
|
|
488
|
+
|
|
489
|
+
@dispatch
|
|
490
|
+
|
|
491
|
+
def DrawEllipse(self ,pen:PdfPen,rectangle:RectangleF):
|
|
492
|
+
"""
|
|
493
|
+
Draws an ellipse.
|
|
494
|
+
|
|
495
|
+
Args:
|
|
496
|
+
pen (PdfPen): The pen.
|
|
497
|
+
rectangle (RectangleF): The rectangle.
|
|
498
|
+
"""
|
|
499
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
500
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
501
|
+
|
|
502
|
+
GetDllLibPdf().PdfCanvas_DrawEllipse.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
503
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawEllipse,self.Ptr, intPtrpen,intPtrrectangle)
|
|
504
|
+
|
|
505
|
+
@dispatch
|
|
506
|
+
|
|
507
|
+
def DrawEllipse(self ,pen:PdfPen,x:float,y:float,width:float,height:float):
|
|
508
|
+
"""
|
|
509
|
+
Draws an ellipse.
|
|
510
|
+
|
|
511
|
+
Args:
|
|
512
|
+
pen (PdfPen): The pen.
|
|
513
|
+
x (float): The x.
|
|
514
|
+
y (float): The y.
|
|
515
|
+
width (float): The width.
|
|
516
|
+
height (float): The height.
|
|
517
|
+
"""
|
|
518
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
519
|
+
|
|
520
|
+
GetDllLibPdf().PdfCanvas_DrawEllipsePXYWH.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float]
|
|
521
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawEllipsePXYWH,self.Ptr, intPtrpen,x,y,width,height)
|
|
522
|
+
|
|
523
|
+
@dispatch
|
|
524
|
+
|
|
525
|
+
def DrawEllipse(self ,brush:PdfBrush,rectangle:RectangleF):
|
|
526
|
+
"""
|
|
527
|
+
Draws an ellipse.
|
|
528
|
+
|
|
529
|
+
Args:
|
|
530
|
+
brush (PdfBrush): The brush.
|
|
531
|
+
rectangle (RectangleF): The rectangle.
|
|
532
|
+
"""
|
|
533
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
534
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
535
|
+
|
|
536
|
+
GetDllLibPdf().PdfCanvas_DrawEllipseBR.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
537
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawEllipseBR,self.Ptr, intPtrbrush,intPtrrectangle)
|
|
538
|
+
|
|
539
|
+
@dispatch
|
|
540
|
+
|
|
541
|
+
def DrawEllipse(self ,brush:PdfBrush,x:float,y:float,width:float,height:float):
|
|
542
|
+
"""
|
|
543
|
+
Draws an ellipse.
|
|
544
|
+
|
|
545
|
+
Args:
|
|
546
|
+
brush (PdfBrush): The brush.
|
|
547
|
+
x (float): The x.
|
|
548
|
+
y (float): The y.
|
|
549
|
+
width (float): The width.
|
|
550
|
+
height (float): The height.
|
|
551
|
+
"""
|
|
552
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
553
|
+
|
|
554
|
+
GetDllLibPdf().PdfCanvas_DrawEllipseBXYWH.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float]
|
|
555
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawEllipseBXYWH,self.Ptr, intPtrbrush,x,y,width,height)
|
|
556
|
+
|
|
557
|
+
@dispatch
|
|
558
|
+
|
|
559
|
+
def DrawEllipse(self ,pen:PdfPen,brush:PdfBrush,rectangle:RectangleF):
|
|
560
|
+
"""
|
|
561
|
+
Draws an ellipse.
|
|
562
|
+
|
|
563
|
+
Args:
|
|
564
|
+
pen (PdfPen): The pen.
|
|
565
|
+
brush (PdfBrush): The brush.
|
|
566
|
+
rectangle (RectangleF): The rectangle.
|
|
567
|
+
"""
|
|
568
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
569
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
570
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
571
|
+
|
|
572
|
+
GetDllLibPdf().PdfCanvas_DrawEllipsePBR.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
|
|
573
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawEllipsePBR,self.Ptr, intPtrpen,intPtrbrush,intPtrrectangle)
|
|
574
|
+
|
|
575
|
+
@dispatch
|
|
576
|
+
|
|
577
|
+
def DrawEllipse(self ,pen:PdfPen,brush:PdfBrush,x:float,y:float,width:float,height:float):
|
|
578
|
+
"""
|
|
579
|
+
Draws an ellipse.
|
|
580
|
+
|
|
581
|
+
Args:
|
|
582
|
+
pen (PdfPen): The pen.
|
|
583
|
+
brush (PdfBrush): The brush.
|
|
584
|
+
x (float): The x.
|
|
585
|
+
y (float): The y.
|
|
586
|
+
width (float): The width.
|
|
587
|
+
height (float): The height.
|
|
588
|
+
"""
|
|
589
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
590
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
591
|
+
|
|
592
|
+
GetDllLibPdf().PdfCanvas_DrawEllipsePBXYWH.argtypes=[c_void_p ,c_void_p,c_void_p,c_float,c_float,c_float,c_float]
|
|
593
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawEllipsePBXYWH,self.Ptr, intPtrpen,intPtrbrush,x,y,width,height)
|
|
594
|
+
|
|
595
|
+
@dispatch
|
|
596
|
+
|
|
597
|
+
def DrawArc(self ,pen:PdfPen,rectangle:RectangleF,startAngle:float,sweepAngle:float):
|
|
598
|
+
"""
|
|
599
|
+
Draws an arc.
|
|
600
|
+
|
|
601
|
+
Args:
|
|
602
|
+
pen (PdfPen): The pen.
|
|
603
|
+
rectangle (RectangleF): The rectangle.
|
|
604
|
+
startAngle (float): The startAngle.
|
|
605
|
+
sweepAngle (float): The sweepAngle.
|
|
606
|
+
"""
|
|
607
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
608
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
609
|
+
|
|
610
|
+
GetDllLibPdf().PdfCanvas_DrawArc.argtypes=[c_void_p ,c_void_p,c_void_p,c_float,c_float]
|
|
611
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawArc,self.Ptr, intPtrpen,intPtrrectangle,startAngle,sweepAngle)
|
|
612
|
+
|
|
613
|
+
@dispatch
|
|
614
|
+
|
|
615
|
+
def DrawArc(self ,pen:PdfPen,x:float,y:float,width:float,height:float,startAngle:float,sweepAngle:float):
|
|
616
|
+
"""
|
|
617
|
+
Draws an arc.
|
|
618
|
+
|
|
619
|
+
Args:
|
|
620
|
+
pen (PdfPen): The pen.
|
|
621
|
+
x (float): The x.
|
|
622
|
+
y (float): The y.
|
|
623
|
+
width (float): The width.
|
|
624
|
+
height (float): The height.
|
|
625
|
+
startAngle (float): The startAngle.
|
|
626
|
+
sweepAngle (float): The sweepAngle.
|
|
627
|
+
"""
|
|
628
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
629
|
+
|
|
630
|
+
GetDllLibPdf().PdfCanvas_DrawArcPXYWHSS.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float,c_float,c_float]
|
|
631
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawArcPXYWHSS,self.Ptr, intPtrpen,x,y,width,height,startAngle,sweepAngle)
|
|
632
|
+
|
|
633
|
+
@dispatch
|
|
634
|
+
|
|
635
|
+
def DrawPie(self ,pen:PdfPen,rectangle:RectangleF,startAngle:float,sweepAngle:float):
|
|
636
|
+
"""
|
|
637
|
+
Draws an pie.
|
|
638
|
+
|
|
639
|
+
Args:
|
|
640
|
+
pen (PdfPen): The pen.
|
|
641
|
+
rectangle (RectangleF): The rectangle.
|
|
642
|
+
startAngle (float): The startAngle.
|
|
643
|
+
sweepAngle (float): The sweepAngle.
|
|
644
|
+
"""
|
|
645
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
646
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
647
|
+
|
|
648
|
+
GetDllLibPdf().PdfCanvas_DrawPie.argtypes=[c_void_p ,c_void_p,c_void_p,c_float,c_float]
|
|
649
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPie,self.Ptr, intPtrpen,intPtrrectangle,startAngle,sweepAngle)
|
|
650
|
+
|
|
651
|
+
@dispatch
|
|
652
|
+
|
|
653
|
+
def DrawPie(self ,pen:PdfPen,x:float,y:float,width:float,height:float,startAngle:float,sweepAngle:float):
|
|
654
|
+
"""
|
|
655
|
+
Draws an pie.
|
|
656
|
+
|
|
657
|
+
Args:
|
|
658
|
+
pen (PdfPen): The pen.
|
|
659
|
+
x (float): The x.
|
|
660
|
+
y (float): The y.
|
|
661
|
+
width (float): The width.
|
|
662
|
+
height (float): The height.
|
|
663
|
+
startAngle (float): The startAngle.
|
|
664
|
+
sweepAngle (float): The sweepAngle.
|
|
665
|
+
"""
|
|
666
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
667
|
+
|
|
668
|
+
GetDllLibPdf().PdfCanvas_DrawPiePXYWHSS.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float,c_float,c_float]
|
|
669
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPiePXYWHSS,self.Ptr, intPtrpen,x,y,width,height,startAngle,sweepAngle)
|
|
670
|
+
|
|
671
|
+
@dispatch
|
|
672
|
+
|
|
673
|
+
def DrawPie(self ,brush:PdfBrush,rectangle:RectangleF,startAngle:float,sweepAngle:float):
|
|
674
|
+
"""
|
|
675
|
+
Draws an pie.
|
|
676
|
+
|
|
677
|
+
Args:
|
|
678
|
+
brush (PdfBrush): The brush.
|
|
679
|
+
rectangle (RectangleF): The rectangle.
|
|
680
|
+
startAngle (float): The startAngle.
|
|
681
|
+
sweepAngle (float): The sweepAngle.
|
|
682
|
+
"""
|
|
683
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
684
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
685
|
+
|
|
686
|
+
GetDllLibPdf().PdfCanvas_DrawPieBRSS.argtypes=[c_void_p ,c_void_p,c_void_p,c_float,c_float]
|
|
687
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPieBRSS,self.Ptr, intPtrbrush,intPtrrectangle,startAngle,sweepAngle)
|
|
688
|
+
|
|
689
|
+
@dispatch
|
|
690
|
+
|
|
691
|
+
def DrawPie(self ,brush:PdfBrush,x:float,y:float,width:float,height:float,startAngle:float,sweepAngle:float):
|
|
692
|
+
"""
|
|
693
|
+
Draws an pie.
|
|
694
|
+
|
|
695
|
+
Args:
|
|
696
|
+
brush (PdfBrush): The brush.
|
|
697
|
+
x (float): The x.
|
|
698
|
+
y (float): The y.
|
|
699
|
+
width (float): The width.
|
|
700
|
+
height (float): The height.
|
|
701
|
+
startAngle (float): The startAngle.
|
|
702
|
+
sweepAngle (float): The sweepAngle.
|
|
703
|
+
"""
|
|
704
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
705
|
+
|
|
706
|
+
GetDllLibPdf().PdfCanvas_DrawPieBXYWHSS.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float,c_float,c_float]
|
|
707
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPieBXYWHSS,self.Ptr, intPtrbrush,x,y,width,height,startAngle,sweepAngle)
|
|
708
|
+
|
|
709
|
+
@dispatch
|
|
710
|
+
|
|
711
|
+
def DrawPie(self ,pen:PdfPen,brush:PdfBrush,rectangle:RectangleF,startAngle:float,sweepAngle:float):
|
|
712
|
+
"""
|
|
713
|
+
Draws an pie.
|
|
714
|
+
|
|
715
|
+
Args:
|
|
716
|
+
pen (PdfPen): The pen.
|
|
717
|
+
brush (PdfBrush): The brush.
|
|
718
|
+
rectangle (RectangleF): The rectangle.
|
|
719
|
+
startAngle (float): The startAngle.
|
|
720
|
+
sweepAngle (float): The sweepAngle.
|
|
721
|
+
"""
|
|
722
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
723
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
724
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
725
|
+
|
|
726
|
+
GetDllLibPdf().PdfCanvas_DrawPiePBRSS.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p,c_float,c_float]
|
|
727
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPiePBRSS,self.Ptr, intPtrpen,intPtrbrush,intPtrrectangle,startAngle,sweepAngle)
|
|
728
|
+
|
|
729
|
+
@dispatch
|
|
730
|
+
|
|
731
|
+
def DrawPie(self ,pen:PdfPen,brush:PdfBrush,x:float,y:float,width:float,height:float,startAngle:float,sweepAngle:float):
|
|
732
|
+
"""
|
|
733
|
+
Draws an pie.
|
|
734
|
+
|
|
735
|
+
Args:
|
|
736
|
+
pen (PdfPen): The pen.
|
|
737
|
+
brush (PdfBrush): The brush.
|
|
738
|
+
x (float): The x.
|
|
739
|
+
y (float): The y.
|
|
740
|
+
width (float): The width.
|
|
741
|
+
height (float): The height.
|
|
742
|
+
startAngle (float): The startAngle.
|
|
743
|
+
sweepAngle (float): The sweepAngle.
|
|
744
|
+
"""
|
|
745
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
746
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
747
|
+
|
|
748
|
+
GetDllLibPdf().PdfCanvas_DrawPiePBXYWHSS.argtypes=[c_void_p ,c_void_p,c_void_p,c_float,c_float,c_float,c_float,c_float,c_float]
|
|
749
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPiePBXYWHSS,self.Ptr, intPtrpen,intPtrbrush,x,y,width,height,startAngle,sweepAngle)
|
|
750
|
+
|
|
751
|
+
# @dispatch
|
|
752
|
+
#
|
|
753
|
+
# def DrawPolygon(self ,pen:PdfPen,points:'PointF[]'):
|
|
754
|
+
# """
|
|
755
|
+
# <summary>
|
|
756
|
+
# Draws a polygon.
|
|
757
|
+
# </summary>
|
|
758
|
+
# <param name="pen">The pen.</param>
|
|
759
|
+
# <param name="points">The points.</param>
|
|
760
|
+
# """
|
|
761
|
+
# intPtrpen:c_void_p = pen.Ptr
|
|
762
|
+
# #arraypoints:ArrayTypepoints = ""
|
|
763
|
+
# countpoints = len(points)
|
|
764
|
+
# ArrayTypepoints = c_void_p * countpoints
|
|
765
|
+
# arraypoints = ArrayTypepoints()
|
|
766
|
+
# for i in range(0, countpoints):
|
|
767
|
+
# arraypoints[i] = points[i].Ptr
|
|
768
|
+
#
|
|
769
|
+
#
|
|
770
|
+
# GetDllLibPdf().PdfCanvas_DrawPolygon.argtypes=[c_void_p ,c_void_p,ArrayTypepoints]
|
|
771
|
+
# CallCFunction(GetDllLibPdf().PdfCanvas_DrawPolygon,self.Ptr, intPtrpen,arraypoints)
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
# @dispatch
|
|
775
|
+
#
|
|
776
|
+
# def DrawPolygon(self ,brush:PdfBrush,points:'PointF[]'):
|
|
777
|
+
# """
|
|
778
|
+
# <summary>
|
|
779
|
+
# Draws a polygon.
|
|
780
|
+
# </summary>
|
|
781
|
+
# <param name="brush">The brush.</param>
|
|
782
|
+
# <param name="points">The points.</param>
|
|
783
|
+
# """
|
|
784
|
+
# intPtrbrush:c_void_p = brush.Ptr
|
|
785
|
+
# #arraypoints:ArrayTypepoints = ""
|
|
786
|
+
# countpoints = len(points)
|
|
787
|
+
# ArrayTypepoints = c_void_p * countpoints
|
|
788
|
+
# arraypoints = ArrayTypepoints()
|
|
789
|
+
# for i in range(0, countpoints):
|
|
790
|
+
# arraypoints[i] = points[i].Ptr
|
|
791
|
+
#
|
|
792
|
+
#
|
|
793
|
+
# GetDllLibPdf().PdfCanvas_DrawPolygonBP.argtypes=[c_void_p ,c_void_p,ArrayTypepoints]
|
|
794
|
+
# CallCFunction(GetDllLibPdf().PdfCanvas_DrawPolygonBP,self.Ptr, intPtrbrush,arraypoints)
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
# @dispatch
|
|
798
|
+
#
|
|
799
|
+
# def DrawPolygon(self ,pen:PdfPen,brush:PdfBrush,points:'PointF[]'):
|
|
800
|
+
# """
|
|
801
|
+
# <summary>
|
|
802
|
+
# Draws a polygon.
|
|
803
|
+
# </summary>
|
|
804
|
+
# <param name="pen">The pen.</param>
|
|
805
|
+
# <param name="brush">The brush.</param>
|
|
806
|
+
# <param name="points">The points.</param>
|
|
807
|
+
# """
|
|
808
|
+
# intPtrpen:c_void_p = pen.Ptr
|
|
809
|
+
# intPtrbrush:c_void_p = brush.Ptr
|
|
810
|
+
# #arraypoints:ArrayTypepoints = ""
|
|
811
|
+
# countpoints = len(points)
|
|
812
|
+
# ArrayTypepoints = c_void_p * countpoints
|
|
813
|
+
# arraypoints = ArrayTypepoints()
|
|
814
|
+
# for i in range(0, countpoints):
|
|
815
|
+
# arraypoints[i] = points[i].Ptr
|
|
816
|
+
#
|
|
817
|
+
#
|
|
818
|
+
# GetDllLibPdf().PdfCanvas_DrawPolygonPBP.argtypes=[c_void_p ,c_void_p,c_void_p,ArrayTypepoints]
|
|
819
|
+
# CallCFunction(GetDllLibPdf().PdfCanvas_DrawPolygonPBP,self.Ptr, intPtrpen,intPtrbrush,arraypoints)
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
@dispatch
|
|
823
|
+
|
|
824
|
+
def DrawBezier(self ,pen:PdfPen,startPoint:PointF,firstControlPoint:PointF,secondControlPoint:PointF,endPoint:PointF):
|
|
825
|
+
"""
|
|
826
|
+
Draws a bezier curve.
|
|
827
|
+
|
|
828
|
+
Args:
|
|
829
|
+
pen (PdfPen): The pen.
|
|
830
|
+
startPoint (PointF): The startPoint.
|
|
831
|
+
firstControlPoint (PointF): The first Control Point.
|
|
832
|
+
secondControlPoint (PointF): The second Control Point.
|
|
833
|
+
endPoint (PointF): The endPoint.
|
|
834
|
+
"""
|
|
835
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
836
|
+
intPtrstartPoint:c_void_p = startPoint.Ptr
|
|
837
|
+
intPtrfirstControlPoint:c_void_p = firstControlPoint.Ptr
|
|
838
|
+
intPtrsecondControlPoint:c_void_p = secondControlPoint.Ptr
|
|
839
|
+
intPtrendPoint:c_void_p = endPoint.Ptr
|
|
840
|
+
|
|
841
|
+
GetDllLibPdf().PdfCanvas_DrawBezier.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
842
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawBezier,self.Ptr, intPtrpen,intPtrstartPoint,intPtrfirstControlPoint,intPtrsecondControlPoint,intPtrendPoint)
|
|
843
|
+
|
|
844
|
+
@dispatch
|
|
845
|
+
|
|
846
|
+
def DrawBezier(self ,pen:PdfPen,startPointX:float,startPointY:float,firstControlPointX:float,firstControlPointY:float,secondControlPointX:float,secondControlPointY:float,endPointX:float,endPointY:float):
|
|
847
|
+
"""
|
|
848
|
+
Draws a bezier curve.
|
|
849
|
+
|
|
850
|
+
Args:
|
|
851
|
+
pen (PdfPen): The pen.
|
|
852
|
+
startPointX (PointF): The startPointX.
|
|
853
|
+
startPointY (PointF): The startPointY.
|
|
854
|
+
firstControlPointX (PointF): The first Control PointX.
|
|
855
|
+
firstControlPointY (PointF): The first Control PointY.
|
|
856
|
+
secondControlPointX (PointF): The second Control PointX.
|
|
857
|
+
secondControlPointY (PointF): The second Control PointY.
|
|
858
|
+
endPointX (PointF): The endPointX.
|
|
859
|
+
endPointY (PointF): The endPointY.
|
|
860
|
+
"""
|
|
861
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
862
|
+
|
|
863
|
+
GetDllLibPdf().PdfCanvas_DrawBezierPSSFFSSEE.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float,c_float,c_float,c_float,c_float]
|
|
864
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawBezierPSSFFSSEE,self.Ptr, intPtrpen,startPointX,startPointY,firstControlPointX,firstControlPointY,secondControlPointX,secondControlPointY,endPointX,endPointY)
|
|
865
|
+
|
|
866
|
+
@dispatch
|
|
867
|
+
|
|
868
|
+
def DrawPath(self ,pen:PdfPen,path:'PdfPath'):
|
|
869
|
+
"""
|
|
870
|
+
Draws a path.
|
|
871
|
+
|
|
872
|
+
Args:
|
|
873
|
+
pen (PdfPen): The pen.
|
|
874
|
+
path (PdfPath): The path.
|
|
875
|
+
"""
|
|
876
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
877
|
+
intPtrpath:c_void_p = path.Ptr
|
|
878
|
+
|
|
879
|
+
GetDllLibPdf().PdfCanvas_DrawPath.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
880
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPath,self.Ptr, intPtrpen,intPtrpath)
|
|
881
|
+
|
|
882
|
+
@dispatch
|
|
883
|
+
|
|
884
|
+
def DrawPath(self ,brush:PdfBrush,path:'PdfPath'):
|
|
885
|
+
"""
|
|
886
|
+
Draws a path.
|
|
887
|
+
|
|
888
|
+
Args:
|
|
889
|
+
brush (PdfBrush): The brush.
|
|
890
|
+
path (PdfPath): The path.
|
|
891
|
+
"""
|
|
892
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
893
|
+
intPtrpath:c_void_p = path.Ptr
|
|
894
|
+
|
|
895
|
+
GetDllLibPdf().PdfCanvas_DrawPathBP.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
896
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPathBP,self.Ptr, intPtrbrush,intPtrpath)
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
@dispatch
|
|
900
|
+
|
|
901
|
+
def DrawPath(self ,pen:PdfPen,brush:PdfBrush,path:'PdfPath'):
|
|
902
|
+
"""
|
|
903
|
+
Draws a path.
|
|
904
|
+
|
|
905
|
+
Args:
|
|
906
|
+
pen (PdfPen): The pen.
|
|
907
|
+
brush (PdfBrush): The brush.
|
|
908
|
+
path (PdfPath): The path.
|
|
909
|
+
"""
|
|
910
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
911
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
912
|
+
intPtrpath:c_void_p = path.Ptr
|
|
913
|
+
|
|
914
|
+
GetDllLibPdf().PdfCanvas_DrawPathPBP.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
|
|
915
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawPathPBP,self.Ptr, intPtrpen,intPtrbrush,intPtrpath)
|
|
916
|
+
|
|
917
|
+
@dispatch
|
|
918
|
+
def DrawImage(self ,image,point:PointF):
|
|
919
|
+
"""
|
|
920
|
+
Draws an image.
|
|
921
|
+
|
|
922
|
+
Args:
|
|
923
|
+
image (PdfImage): The image.
|
|
924
|
+
point (PointF): The point.
|
|
925
|
+
"""
|
|
926
|
+
intPtrimage:c_void_p = image.Ptr
|
|
927
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
928
|
+
|
|
929
|
+
GetDllLibPdf().PdfCanvas_DrawImage.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
930
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImage,self.Ptr, intPtrimage,intPtrpoint)
|
|
931
|
+
|
|
932
|
+
@dispatch
|
|
933
|
+
|
|
934
|
+
def DrawImage(self ,image,x:float,y:float):
|
|
935
|
+
"""
|
|
936
|
+
Draws an image.
|
|
937
|
+
|
|
938
|
+
Args:
|
|
939
|
+
image (PdfImage): The image.
|
|
940
|
+
x (float): The x.
|
|
941
|
+
y (float): The y.
|
|
942
|
+
"""
|
|
943
|
+
intPtrimage:c_void_p = image.Ptr
|
|
944
|
+
|
|
945
|
+
GetDllLibPdf().PdfCanvas_DrawImageIXY.argtypes=[c_void_p ,c_void_p,c_float,c_float]
|
|
946
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImageIXY,self.Ptr, intPtrimage,x,y)
|
|
947
|
+
|
|
948
|
+
@dispatch
|
|
949
|
+
|
|
950
|
+
def DrawImage(self ,image,rectangle:RectangleF):
|
|
951
|
+
"""
|
|
952
|
+
Draws an image.
|
|
953
|
+
|
|
954
|
+
Args:
|
|
955
|
+
image (PdfImage): The image.
|
|
956
|
+
rectangle (RectangleF): The rectangle.
|
|
957
|
+
"""
|
|
958
|
+
intPtrimage:c_void_p = image.Ptr
|
|
959
|
+
intPtrrectangle:c_void_p = rectangle.Ptr
|
|
960
|
+
|
|
961
|
+
GetDllLibPdf().PdfCanvas_DrawImageIR.argtypes=[c_void_p ,c_void_p,c_void_p]
|
|
962
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImageIR,self.Ptr, intPtrimage,intPtrrectangle)
|
|
963
|
+
|
|
964
|
+
@dispatch
|
|
965
|
+
|
|
966
|
+
def DrawImage(self ,image,point:PointF,size:SizeF):
|
|
967
|
+
"""
|
|
968
|
+
Draws an image.
|
|
969
|
+
|
|
970
|
+
Args:
|
|
971
|
+
image (PdfImage): The image.
|
|
972
|
+
point (PointF): The point.
|
|
973
|
+
size (SizeF): The size.
|
|
974
|
+
"""
|
|
975
|
+
intPtrimage:c_void_p = image.Ptr
|
|
976
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
977
|
+
intPtrsize:c_void_p = size.Ptr
|
|
978
|
+
|
|
979
|
+
GetDllLibPdf().PdfCanvas_DrawImageIPS.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
|
|
980
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImageIPS,self.Ptr, intPtrimage,intPtrpoint,intPtrsize)
|
|
981
|
+
|
|
982
|
+
@dispatch
|
|
983
|
+
|
|
984
|
+
def DrawImage(self ,image,compressionQuality:int,point:PointF,size:SizeF):
|
|
985
|
+
"""
|
|
986
|
+
Draws an image,recommending monochrome image.
|
|
987
|
+
|
|
988
|
+
Args:
|
|
989
|
+
image (PdfImage): The image.
|
|
990
|
+
compressionQuality (int): The image compresson quality.
|
|
991
|
+
point (PointF): The point.
|
|
992
|
+
size (SizeF): The size.
|
|
993
|
+
"""
|
|
994
|
+
intPtrimage:c_void_p = image.Ptr
|
|
995
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
996
|
+
intPtrsize:c_void_p = size.Ptr
|
|
997
|
+
|
|
998
|
+
GetDllLibPdf().PdfCanvas_DrawImageICPS.argtypes=[c_void_p ,c_void_p,c_int,c_void_p,c_void_p]
|
|
999
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImageICPS,self.Ptr, intPtrimage,compressionQuality,intPtrpoint,intPtrsize)
|
|
1000
|
+
|
|
1001
|
+
@dispatch
|
|
1002
|
+
|
|
1003
|
+
def DrawImage(self ,image,x:float,y:float,width:float,height:float):
|
|
1004
|
+
"""
|
|
1005
|
+
Draws an image.
|
|
1006
|
+
|
|
1007
|
+
Args:
|
|
1008
|
+
image (PdfImage): The image.
|
|
1009
|
+
x (float): The x.
|
|
1010
|
+
y (float): The y.
|
|
1011
|
+
width (float): The width.
|
|
1012
|
+
height (float): The height.
|
|
1013
|
+
"""
|
|
1014
|
+
intPtrimage:c_void_p = image.Ptr
|
|
1015
|
+
|
|
1016
|
+
GetDllLibPdf().PdfCanvas_DrawImageIXYWH.argtypes=[c_void_p ,c_void_p,c_float,c_float,c_float,c_float]
|
|
1017
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImageIXYWH,self.Ptr, intPtrimage,x,y,width,height)
|
|
1018
|
+
|
|
1019
|
+
@dispatch
|
|
1020
|
+
|
|
1021
|
+
def DrawImage(self ,image,compressionQuality:int,x:float,y:float,width:float,height:float):
|
|
1022
|
+
"""
|
|
1023
|
+
Draws an image.
|
|
1024
|
+
|
|
1025
|
+
Args:
|
|
1026
|
+
image (PdfImage): The image.
|
|
1027
|
+
compressionQuality (int): The image compresson quality.
|
|
1028
|
+
x (float): The x.
|
|
1029
|
+
y (float): The y.
|
|
1030
|
+
width (float): The width.
|
|
1031
|
+
height (float): The height.
|
|
1032
|
+
"""
|
|
1033
|
+
intPtrimage:c_void_p = image.Ptr
|
|
1034
|
+
|
|
1035
|
+
GetDllLibPdf().PdfCanvas_DrawImageICXYWH.argtypes=[c_void_p ,c_void_p,c_int,c_float,c_float,c_float,c_float]
|
|
1036
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawImageICXYWH,self.Ptr, intPtrimage,compressionQuality,x,y,width,height)
|
|
1037
|
+
|
|
1038
|
+
@dispatch
|
|
1039
|
+
|
|
1040
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,point:PointF):
|
|
1041
|
+
"""
|
|
1042
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1043
|
+
|
|
1044
|
+
Args:
|
|
1045
|
+
s (str): The text string.
|
|
1046
|
+
font (PdfFontBase): The font.
|
|
1047
|
+
brush (PdfBrush): The brush.
|
|
1048
|
+
point (PointF): The location point.
|
|
1049
|
+
"""
|
|
1050
|
+
|
|
1051
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1052
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1053
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1054
|
+
|
|
1055
|
+
GetDllLibPdf().PdfCanvas_DrawString.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p]
|
|
1056
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawString,self.Ptr, s,intPtrfont,intPtrbrush,intPtrpoint)
|
|
1057
|
+
|
|
1058
|
+
@dispatch
|
|
1059
|
+
|
|
1060
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,point:PointF,format:PdfStringFormat):
|
|
1061
|
+
"""
|
|
1062
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1063
|
+
|
|
1064
|
+
Args:
|
|
1065
|
+
s (str): The text string.
|
|
1066
|
+
font (PdfFontBase): The font.
|
|
1067
|
+
brush (PdfBrush): The brush.
|
|
1068
|
+
point (PointF): The location point.
|
|
1069
|
+
format (PdfStringFormat): The text string format.
|
|
1070
|
+
"""
|
|
1071
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1072
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1073
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1074
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1075
|
+
|
|
1076
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBPF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1077
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBPF,self.Ptr, s,intPtrfont,intPtrbrush,intPtrpoint,intPtrformat)
|
|
1078
|
+
|
|
1079
|
+
@dispatch
|
|
1080
|
+
|
|
1081
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,x:float,y:float):
|
|
1082
|
+
"""
|
|
1083
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1084
|
+
|
|
1085
|
+
Args:
|
|
1086
|
+
s (str): The text string.
|
|
1087
|
+
font (PdfFontBase): The font.
|
|
1088
|
+
brush (PdfBrush): The brush.
|
|
1089
|
+
x (float): The x.
|
|
1090
|
+
y (float): The y.
|
|
1091
|
+
"""
|
|
1092
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1093
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1094
|
+
|
|
1095
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBXY.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float]
|
|
1096
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBXY,self.Ptr, s,intPtrfont,intPtrbrush,x,y)
|
|
1097
|
+
|
|
1098
|
+
@dispatch
|
|
1099
|
+
|
|
1100
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,x:float,y:float,format:PdfStringFormat):
|
|
1101
|
+
"""
|
|
1102
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1103
|
+
|
|
1104
|
+
Args:
|
|
1105
|
+
s (str): The text string.
|
|
1106
|
+
font (PdfFontBase): The font.
|
|
1107
|
+
brush (PdfBrush): The brush.
|
|
1108
|
+
x (float): The x.
|
|
1109
|
+
y (float): The y.
|
|
1110
|
+
format (PdfStringFormat): The text string format.
|
|
1111
|
+
"""
|
|
1112
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1113
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1114
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1115
|
+
|
|
1116
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBXYF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float,c_void_p]
|
|
1117
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBXYF,self.Ptr, s,intPtrfont,intPtrbrush,x,y,intPtrformat)
|
|
1118
|
+
|
|
1119
|
+
@dispatch
|
|
1120
|
+
|
|
1121
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,point:PointF):
|
|
1122
|
+
"""
|
|
1123
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1124
|
+
|
|
1125
|
+
Args:
|
|
1126
|
+
s (str): The text string.
|
|
1127
|
+
font (PdfFontBase): The font.
|
|
1128
|
+
pen (PdfPen): The pen.
|
|
1129
|
+
point (PointF): The location point.
|
|
1130
|
+
"""
|
|
1131
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1132
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1133
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1134
|
+
|
|
1135
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPP.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p]
|
|
1136
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPP,self.Ptr, s,intPtrfont,intPtrpen,intPtrpoint)
|
|
1137
|
+
|
|
1138
|
+
@dispatch
|
|
1139
|
+
|
|
1140
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,point:PointF,format:PdfStringFormat):
|
|
1141
|
+
"""
|
|
1142
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1143
|
+
|
|
1144
|
+
Args:
|
|
1145
|
+
s (str): The text string.
|
|
1146
|
+
font (PdfFontBase): The font.
|
|
1147
|
+
pen (PdfPen): The pen.
|
|
1148
|
+
point (PointF): The location point.
|
|
1149
|
+
format (PdfStringFormat): The text string format.
|
|
1150
|
+
"""
|
|
1151
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1152
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1153
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1154
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1155
|
+
|
|
1156
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPPF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1157
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPPF,self.Ptr, s,intPtrfont,intPtrpen,intPtrpoint,intPtrformat)
|
|
1158
|
+
|
|
1159
|
+
@dispatch
|
|
1160
|
+
|
|
1161
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,x:float,y:float):
|
|
1162
|
+
"""
|
|
1163
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1164
|
+
|
|
1165
|
+
Args:
|
|
1166
|
+
s (str): The text string.
|
|
1167
|
+
font (PdfFontBase): The font.
|
|
1168
|
+
pen (PdfPen): The pen.
|
|
1169
|
+
x (PointF): The x.
|
|
1170
|
+
y (PointF): The y.
|
|
1171
|
+
"""
|
|
1172
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1173
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1174
|
+
|
|
1175
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPXY.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float]
|
|
1176
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPXY,self.Ptr, s,intPtrfont,intPtrpen,x,y)
|
|
1177
|
+
|
|
1178
|
+
@dispatch
|
|
1179
|
+
|
|
1180
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,x:float,y:float,format:PdfStringFormat):
|
|
1181
|
+
"""
|
|
1182
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1183
|
+
|
|
1184
|
+
Args:
|
|
1185
|
+
s (str): The text string.
|
|
1186
|
+
font (PdfFontBase): The font.
|
|
1187
|
+
pen (PdfPen): The pen.
|
|
1188
|
+
x (PointF): The x.
|
|
1189
|
+
y (PointF): The y.
|
|
1190
|
+
format (PdfStringFormat): The text string format.
|
|
1191
|
+
"""
|
|
1192
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1193
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1194
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1195
|
+
|
|
1196
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPXYF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float,c_void_p]
|
|
1197
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPXYF,self.Ptr, s,intPtrfont,intPtrpen,x,y,intPtrformat)
|
|
1198
|
+
|
|
1199
|
+
@dispatch
|
|
1200
|
+
|
|
1201
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,point:PointF):
|
|
1202
|
+
"""
|
|
1203
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1204
|
+
|
|
1205
|
+
Args:
|
|
1206
|
+
s (str): The text string.
|
|
1207
|
+
font (PdfFontBase): The font.
|
|
1208
|
+
pen (PdfPen): The pen.
|
|
1209
|
+
brush (PdfBrush): The brush.
|
|
1210
|
+
point (PointF): The location point.
|
|
1211
|
+
"""
|
|
1212
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1213
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1214
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1215
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1216
|
+
|
|
1217
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBP.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1218
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBP,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,intPtrpoint)
|
|
1219
|
+
|
|
1220
|
+
@dispatch
|
|
1221
|
+
|
|
1222
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,point:PointF,format:PdfStringFormat):
|
|
1223
|
+
"""
|
|
1224
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1225
|
+
|
|
1226
|
+
Args:
|
|
1227
|
+
s (str): The text string.
|
|
1228
|
+
font (PdfFontBase): The font.
|
|
1229
|
+
pen (PdfPen): The pen.
|
|
1230
|
+
brush (PdfBrush): The brush.
|
|
1231
|
+
point (PointF): The location point.
|
|
1232
|
+
format (PdfStringFormat): The text string format.
|
|
1233
|
+
"""
|
|
1234
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1235
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1236
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1237
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1238
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1239
|
+
|
|
1240
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBPF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1241
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBPF,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,intPtrpoint,intPtrformat)
|
|
1242
|
+
|
|
1243
|
+
@dispatch
|
|
1244
|
+
|
|
1245
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,x:float,y:float,format:PdfStringFormat):
|
|
1246
|
+
"""
|
|
1247
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1248
|
+
|
|
1249
|
+
Args:
|
|
1250
|
+
s (str): The text string.
|
|
1251
|
+
font (PdfFontBase): The font.
|
|
1252
|
+
pen (PdfPen): The pen.
|
|
1253
|
+
brush (PdfBrush): The brush.
|
|
1254
|
+
x (float): The x.
|
|
1255
|
+
y (float): The y.
|
|
1256
|
+
format (PdfStringFormat): The text string format.
|
|
1257
|
+
"""
|
|
1258
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1259
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1260
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1261
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1262
|
+
|
|
1263
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBXYF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_float,c_float,c_void_p]
|
|
1264
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBXYF,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,x,y,intPtrformat)
|
|
1265
|
+
|
|
1266
|
+
@dispatch
|
|
1267
|
+
|
|
1268
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,x:float,y:float):
|
|
1269
|
+
"""
|
|
1270
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1271
|
+
|
|
1272
|
+
Args:
|
|
1273
|
+
s (str): The text string.
|
|
1274
|
+
font (PdfFontBase): The font.
|
|
1275
|
+
pen (PdfPen): The pen.
|
|
1276
|
+
brush (PdfBrush): The brush.
|
|
1277
|
+
x (float): The x.
|
|
1278
|
+
y (float): The y.
|
|
1279
|
+
"""
|
|
1280
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1281
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1282
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1283
|
+
|
|
1284
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBXY.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_float,c_float]
|
|
1285
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBXY,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,x,y)
|
|
1286
|
+
|
|
1287
|
+
@dispatch
|
|
1288
|
+
|
|
1289
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,layoutRectangle:RectangleF):
|
|
1290
|
+
"""
|
|
1291
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1292
|
+
|
|
1293
|
+
Args:
|
|
1294
|
+
s (str): The text string.
|
|
1295
|
+
font (PdfFontBase): The font.
|
|
1296
|
+
brush (PdfBrush): The brush.
|
|
1297
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1298
|
+
"""
|
|
1299
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1300
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1301
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1302
|
+
|
|
1303
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBL.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p]
|
|
1304
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBL,self.Ptr, s,intPtrfont,intPtrbrush,intPtrlayoutRectangle)
|
|
1305
|
+
|
|
1306
|
+
@dispatch
|
|
1307
|
+
|
|
1308
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,layoutRectangle:RectangleF,format:PdfStringFormat):
|
|
1309
|
+
"""
|
|
1310
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1311
|
+
|
|
1312
|
+
Args:
|
|
1313
|
+
s (str): The text string.
|
|
1314
|
+
font (PdfFontBase): The font.
|
|
1315
|
+
brush (PdfBrush): The brush.
|
|
1316
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1317
|
+
format (PdfStringFormat): The text string format.
|
|
1318
|
+
"""
|
|
1319
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1320
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1321
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1322
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1323
|
+
|
|
1324
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBLF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1325
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBLF,self.Ptr, s,intPtrfont,intPtrbrush,intPtrlayoutRectangle,intPtrformat)
|
|
1326
|
+
|
|
1327
|
+
@dispatch
|
|
1328
|
+
|
|
1329
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,layoutRectangle:RectangleF):
|
|
1330
|
+
"""
|
|
1331
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1332
|
+
|
|
1333
|
+
Args:
|
|
1334
|
+
s (str): The text string.
|
|
1335
|
+
font (PdfFontBase): The font.
|
|
1336
|
+
pen (PdfPen): The pen.
|
|
1337
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1338
|
+
"""
|
|
1339
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1340
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1341
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1342
|
+
|
|
1343
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPL.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p]
|
|
1344
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPL,self.Ptr, s,intPtrfont,intPtrpen,intPtrlayoutRectangle)
|
|
1345
|
+
|
|
1346
|
+
@dispatch
|
|
1347
|
+
|
|
1348
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,layoutRectangle:RectangleF,format:PdfStringFormat):
|
|
1349
|
+
"""
|
|
1350
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1351
|
+
|
|
1352
|
+
Args:
|
|
1353
|
+
s (str): The text string.
|
|
1354
|
+
font (PdfFontBase): The font.
|
|
1355
|
+
pen (PdfPen): The pen.
|
|
1356
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1357
|
+
format (PdfStringFormat): The text string format.
|
|
1358
|
+
"""
|
|
1359
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1360
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1361
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1362
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1363
|
+
|
|
1364
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPLF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1365
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPLF,self.Ptr, s,intPtrfont,intPtrpen,intPtrlayoutRectangle,intPtrformat)
|
|
1366
|
+
|
|
1367
|
+
@dispatch
|
|
1368
|
+
|
|
1369
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,layoutRectangle:RectangleF,format:PdfStringFormat):
|
|
1370
|
+
"""
|
|
1371
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1372
|
+
|
|
1373
|
+
Args:
|
|
1374
|
+
s (str): The text string.
|
|
1375
|
+
font (PdfFontBase): The font.
|
|
1376
|
+
pen (PdfPen): The pen.
|
|
1377
|
+
brush (PdfBrush): The brush.
|
|
1378
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1379
|
+
format (PdfStringFormat): The text string format.
|
|
1380
|
+
"""
|
|
1381
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1382
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1383
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1384
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1385
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1386
|
+
|
|
1387
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBLF.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_void_p]
|
|
1388
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBLF,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,intPtrlayoutRectangle,intPtrformat)
|
|
1389
|
+
|
|
1390
|
+
@dispatch
|
|
1391
|
+
|
|
1392
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,point:PointF,htmlTags:bool):
|
|
1393
|
+
"""
|
|
1394
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1395
|
+
|
|
1396
|
+
Args:
|
|
1397
|
+
s (str): The text string.
|
|
1398
|
+
font (PdfFontBase): The font.
|
|
1399
|
+
brush (PdfBrush): The brush.
|
|
1400
|
+
point (PointF): The location point.
|
|
1401
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1402
|
+
"""
|
|
1403
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1404
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1405
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1406
|
+
|
|
1407
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBPH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1408
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBPH,self.Ptr, s,intPtrfont,intPtrbrush,intPtrpoint,htmlTags)
|
|
1409
|
+
|
|
1410
|
+
@dispatch
|
|
1411
|
+
|
|
1412
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,point:PointF,format:PdfStringFormat,htmlTags:bool):
|
|
1413
|
+
"""
|
|
1414
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1415
|
+
|
|
1416
|
+
Args:
|
|
1417
|
+
s (str): The text string.
|
|
1418
|
+
font (PdfFontBase): The font.
|
|
1419
|
+
brush (PdfBrush): The brush.
|
|
1420
|
+
point (PointF): The location point.
|
|
1421
|
+
format (PdfStringFormat): The text string format.
|
|
1422
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1423
|
+
"""
|
|
1424
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1425
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1426
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1427
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1428
|
+
|
|
1429
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBPFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1430
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBPFH,self.Ptr, s,intPtrfont,intPtrbrush,intPtrpoint,intPtrformat,htmlTags)
|
|
1431
|
+
|
|
1432
|
+
@dispatch
|
|
1433
|
+
|
|
1434
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,x:float,y:float,htmlTags:bool):
|
|
1435
|
+
"""
|
|
1436
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1437
|
+
|
|
1438
|
+
Args:
|
|
1439
|
+
s (str): The text string.
|
|
1440
|
+
font (PdfFontBase): The font.
|
|
1441
|
+
brush (PdfBrush): The brush.
|
|
1442
|
+
x (float): The x.
|
|
1443
|
+
y (float): The y.
|
|
1444
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1445
|
+
"""
|
|
1446
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1447
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1448
|
+
|
|
1449
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBXYH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float,c_bool]
|
|
1450
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBXYH,self.Ptr, s,intPtrfont,intPtrbrush,x,y,htmlTags)
|
|
1451
|
+
|
|
1452
|
+
@dispatch
|
|
1453
|
+
|
|
1454
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,x:float,y:float,format:PdfStringFormat,htmlTags:bool):
|
|
1455
|
+
"""
|
|
1456
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1457
|
+
|
|
1458
|
+
Args:
|
|
1459
|
+
s (str): The text string.
|
|
1460
|
+
font (PdfFontBase): The font.
|
|
1461
|
+
brush (PdfBrush): The brush.
|
|
1462
|
+
x (float): The x.
|
|
1463
|
+
y (float): The y.
|
|
1464
|
+
format (PdfStringFormat): The text string format.
|
|
1465
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1466
|
+
"""
|
|
1467
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1468
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1469
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1470
|
+
|
|
1471
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBXYFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float,c_void_p,c_bool]
|
|
1472
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBXYFH,self.Ptr, s,intPtrfont,intPtrbrush,x,y,intPtrformat,htmlTags)
|
|
1473
|
+
|
|
1474
|
+
@dispatch
|
|
1475
|
+
|
|
1476
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,point:PointF,htmlTags:bool):
|
|
1477
|
+
"""
|
|
1478
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1479
|
+
|
|
1480
|
+
Args:
|
|
1481
|
+
s (str): The text string.
|
|
1482
|
+
font (PdfFontBase): The font.
|
|
1483
|
+
pen (PdfPen): The pen.
|
|
1484
|
+
point (PointF): The location point.
|
|
1485
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1486
|
+
"""
|
|
1487
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1488
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1489
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1490
|
+
|
|
1491
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPPH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1492
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPPH,self.Ptr, s,intPtrfont,intPtrpen,intPtrpoint,htmlTags)
|
|
1493
|
+
|
|
1494
|
+
@dispatch
|
|
1495
|
+
|
|
1496
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,point:PointF,format:PdfStringFormat,htmlTags:bool):
|
|
1497
|
+
"""
|
|
1498
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1499
|
+
|
|
1500
|
+
Args:
|
|
1501
|
+
s (str): The text string.
|
|
1502
|
+
font (PdfFontBase): The font.
|
|
1503
|
+
pen (PdfPen): The pen.
|
|
1504
|
+
point (PointF): The location point.
|
|
1505
|
+
format (PdfStringFormat): The text string format.
|
|
1506
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1507
|
+
"""
|
|
1508
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1509
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1510
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1511
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1512
|
+
|
|
1513
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPPFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1514
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPPFH,self.Ptr, s,intPtrfont,intPtrpen,intPtrpoint,intPtrformat,htmlTags)
|
|
1515
|
+
|
|
1516
|
+
@dispatch
|
|
1517
|
+
|
|
1518
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,x:float,y:float,htmlTags:bool):
|
|
1519
|
+
"""
|
|
1520
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1521
|
+
|
|
1522
|
+
Args:
|
|
1523
|
+
s (str): The text string.
|
|
1524
|
+
font (PdfFontBase): The font.
|
|
1525
|
+
pen (PdfPen): The pen.
|
|
1526
|
+
x (float): The x.
|
|
1527
|
+
y (float): The y.
|
|
1528
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1529
|
+
"""
|
|
1530
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1531
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1532
|
+
|
|
1533
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPXYH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float,c_bool]
|
|
1534
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPXYH,self.Ptr, s,intPtrfont,intPtrpen,x,y,htmlTags)
|
|
1535
|
+
|
|
1536
|
+
@dispatch
|
|
1537
|
+
|
|
1538
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,x:float,y:float,format:PdfStringFormat,htmlTags:bool):
|
|
1539
|
+
"""
|
|
1540
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1541
|
+
|
|
1542
|
+
Args:
|
|
1543
|
+
s (str): The text string.
|
|
1544
|
+
font (PdfFontBase): The font.
|
|
1545
|
+
pen (PdfPen): The pen.
|
|
1546
|
+
x (float): The x.
|
|
1547
|
+
y (float): The y.
|
|
1548
|
+
format (PdfStringFormat): The text string format.
|
|
1549
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1550
|
+
"""
|
|
1551
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1552
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1553
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1554
|
+
|
|
1555
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPXYFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_float,c_float,c_void_p,c_bool]
|
|
1556
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPXYFH,self.Ptr, s,intPtrfont,intPtrpen,x,y,intPtrformat,htmlTags)
|
|
1557
|
+
|
|
1558
|
+
@dispatch
|
|
1559
|
+
|
|
1560
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,point:PointF,htmlTags:bool):
|
|
1561
|
+
"""
|
|
1562
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1563
|
+
|
|
1564
|
+
Args:
|
|
1565
|
+
s (str): The text string.
|
|
1566
|
+
font (PdfFontBase): The font.
|
|
1567
|
+
pen (PdfPen): The pen.
|
|
1568
|
+
brush (PdfBrush): The brush.
|
|
1569
|
+
point (PointF): The location point.
|
|
1570
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1571
|
+
"""
|
|
1572
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1573
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1574
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1575
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1576
|
+
|
|
1577
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBPH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1578
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBPH,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,intPtrpoint,htmlTags)
|
|
1579
|
+
|
|
1580
|
+
@dispatch
|
|
1581
|
+
|
|
1582
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,point:PointF,format:PdfStringFormat,htmlTags:bool):
|
|
1583
|
+
"""
|
|
1584
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1585
|
+
|
|
1586
|
+
Args:
|
|
1587
|
+
s (str): The text string.
|
|
1588
|
+
font (PdfFontBase): The font.
|
|
1589
|
+
pen (PdfPen): The pen.
|
|
1590
|
+
brush (PdfBrush): The brush.
|
|
1591
|
+
point (PointF): The location point.
|
|
1592
|
+
format (PdfStringFormat): The text string format.
|
|
1593
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1594
|
+
"""
|
|
1595
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1596
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1597
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1598
|
+
intPtrpoint:c_void_p = point.Ptr
|
|
1599
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1600
|
+
|
|
1601
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBPFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1602
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBPFH,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,intPtrpoint,intPtrformat,htmlTags)
|
|
1603
|
+
|
|
1604
|
+
@dispatch
|
|
1605
|
+
|
|
1606
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,x:float,y:float,format:PdfStringFormat,htmlTags:bool):
|
|
1607
|
+
"""
|
|
1608
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1609
|
+
|
|
1610
|
+
Args:
|
|
1611
|
+
s (str): The text string.
|
|
1612
|
+
font (PdfFontBase): The font.
|
|
1613
|
+
pen (PdfPen): The pen.
|
|
1614
|
+
brush (PdfBrush): The brush.
|
|
1615
|
+
x (PointF): The x.
|
|
1616
|
+
y (PointF): The y.
|
|
1617
|
+
format (PdfStringFormat): The text string format.
|
|
1618
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1619
|
+
"""
|
|
1620
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1621
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1622
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1623
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1624
|
+
|
|
1625
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBXYFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_float,c_float,c_void_p,c_bool]
|
|
1626
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBXYFH,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,x,y,intPtrformat,htmlTags)
|
|
1627
|
+
|
|
1628
|
+
@dispatch
|
|
1629
|
+
|
|
1630
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,brush:PdfBrush,x:float,y:float,htmlTags:bool):
|
|
1631
|
+
"""
|
|
1632
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1633
|
+
|
|
1634
|
+
Args:
|
|
1635
|
+
s (str): The text string.
|
|
1636
|
+
font (PdfFontBase): The font.
|
|
1637
|
+
pen (PdfPen): The pen.
|
|
1638
|
+
brush (PdfBrush): The brush.
|
|
1639
|
+
x (PointF): The x.
|
|
1640
|
+
y (PointF): The y.
|
|
1641
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1642
|
+
"""
|
|
1643
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1644
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1645
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1646
|
+
|
|
1647
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPBXYH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_float,c_float,c_bool]
|
|
1648
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPBXYH,self.Ptr, s,intPtrfont,intPtrpen,intPtrbrush,x,y,htmlTags)
|
|
1649
|
+
|
|
1650
|
+
@dispatch
|
|
1651
|
+
|
|
1652
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,layoutRectangle:RectangleF,htmlTags:bool):
|
|
1653
|
+
"""
|
|
1654
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1655
|
+
|
|
1656
|
+
Args:
|
|
1657
|
+
s (str): The text string.
|
|
1658
|
+
font (PdfFontBase): The font.
|
|
1659
|
+
pen (PdfPen): The pen.
|
|
1660
|
+
brush (PdfBrush): The brush.
|
|
1661
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1662
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1663
|
+
"""
|
|
1664
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1665
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1666
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1667
|
+
|
|
1668
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBLH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1669
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBLH,self.Ptr, s,intPtrfont,intPtrbrush,intPtrlayoutRectangle,htmlTags)
|
|
1670
|
+
|
|
1671
|
+
@dispatch
|
|
1672
|
+
|
|
1673
|
+
def DrawString(self ,s:str,font:PdfFontBase,brush:PdfBrush,layoutRectangle:RectangleF,format:PdfStringFormat,htmlTags:bool):
|
|
1674
|
+
"""
|
|
1675
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1676
|
+
|
|
1677
|
+
Args:
|
|
1678
|
+
s (str): The text string.
|
|
1679
|
+
font (PdfFontBase): The font.
|
|
1680
|
+
brush (PdfBrush): The brush.
|
|
1681
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1682
|
+
format (PdfStringFormat): The text string format.
|
|
1683
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1684
|
+
"""
|
|
1685
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1686
|
+
intPtrbrush:c_void_p = brush.Ptr
|
|
1687
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1688
|
+
intPtrformat:c_void_p = format.Ptr
|
|
1689
|
+
|
|
1690
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFBLFH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1691
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFBLFH,self.Ptr, s,intPtrfont,intPtrbrush,intPtrlayoutRectangle,intPtrformat,htmlTags)
|
|
1692
|
+
|
|
1693
|
+
@dispatch
|
|
1694
|
+
|
|
1695
|
+
def DrawString(self ,s:str,font:PdfFontBase,pen:PdfPen,layoutRectangle:RectangleF,htmlTags:bool):
|
|
1696
|
+
"""
|
|
1697
|
+
Draws the specified text string at the specified location with the specified Brush and Font objects.
|
|
1698
|
+
|
|
1699
|
+
Args:
|
|
1700
|
+
s (str): The text string.
|
|
1701
|
+
font (PdfFontBase): The font.
|
|
1702
|
+
pen (PdfPen): The pen.
|
|
1703
|
+
layoutRectangle (RectangleF): RectangleF structure that specifies the bounds of the drawn text.
|
|
1704
|
+
htmlTags (bool): whether the parsing of HTML tags.
|
|
1705
|
+
"""
|
|
1706
|
+
intPtrfont:c_void_p = font.Ptr
|
|
1707
|
+
intPtrpen:c_void_p = pen.Ptr
|
|
1708
|
+
intPtrlayoutRectangle:c_void_p = layoutRectangle.Ptr
|
|
1709
|
+
|
|
1710
|
+
GetDllLibPdf().PdfCanvas_DrawStringSFPLH.argtypes=[c_void_p ,c_wchar_p,c_void_p,c_void_p,c_void_p,c_bool]
|
|
1711
|
+
CallCFunction(GetDllLibPdf().PdfCanvas_DrawStringSFPLH,self.Ptr, s,intPtrfont,intPtrpen,intPtrlayoutRectangle,htmlTags)
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|