Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Image32 as drawing back-end #6

Open
khongten001 opened this issue Oct 22, 2021 · 2 comments
Open

Use Image32 as drawing back-end #6

khongten001 opened this issue Oct 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@khongten001
Copy link

Hi,

Thank you for your working on this project. I do know this is very hard project!

Would you please consider using Image32 (https://sourceforge.net/projects/image32/) as drawing back-end! It is written in Pascal and amazing fast!

Thanks!

@Matek0611 Matek0611 added the enhancement New feature or request label Oct 22, 2021
@Matek0611 Matek0611 reopened this Oct 22, 2021
@Matek0611
Copy link
Owner

Matek0611 commented Oct 22, 2021

Hi @khongten001,

Thanks for your feedback! I reckon that I can add another way of drawing for the TPLHTMLViewer in the future. Currently, as you can see in the pospolite.view.drawing.renderer.pas file, there is the TPLDrawingDrawerDef type defined. It's an alias for the TPLD2D1Drawer (Direct2D Drawer) on Windows but on another platforms for the TPLNativeDrawer (Default Free Pascal Canvas Drawer). Maybe I'll add TPLImage32Drawer class that supports Image32 after I release the first version of the package ;)

@khongten001
Copy link
Author

Hi @Matek0611,

Thank you for your reply! CSS + HTML have some complex drawing, eg: shadow, overflow: hidden, gradient, border-radus. Image32 supports all of them. That's why I mentioned it here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants