wxart2d-users_dev Mailing List for wxArt2D
Status: Beta
Brought to you by:
titato
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(26) |
Aug
(28) |
Sep
(58) |
Oct
(164) |
Nov
(201) |
Dec
(179) |
| 2004 |
Jan
(165) |
Feb
(124) |
Mar
(106) |
Apr
(166) |
May
(203) |
Jun
(213) |
Jul
(102) |
Aug
(110) |
Sep
(61) |
Oct
(51) |
Nov
(54) |
Dec
(4) |
| 2005 |
Jan
(133) |
Feb
(47) |
Mar
(2) |
Apr
(22) |
May
(112) |
Jun
(193) |
Jul
(20) |
Aug
(8) |
Sep
(58) |
Oct
(6) |
Nov
(16) |
Dec
(14) |
| 2006 |
Jan
(50) |
Feb
(73) |
Mar
(18) |
Apr
(29) |
May
(42) |
Jun
(56) |
Jul
(19) |
Aug
(32) |
Sep
(45) |
Oct
(94) |
Nov
(30) |
Dec
(6) |
| 2007 |
Jan
(26) |
Feb
(31) |
Mar
(112) |
Apr
(48) |
May
(15) |
Jun
(15) |
Jul
(85) |
Aug
(94) |
Sep
(10) |
Oct
(26) |
Nov
(32) |
Dec
(9) |
| 2008 |
Jan
(100) |
Feb
(79) |
Mar
(59) |
Apr
(48) |
May
(13) |
Jun
(3) |
Jul
(26) |
Aug
(44) |
Sep
(30) |
Oct
(51) |
Nov
(6) |
Dec
(1) |
| 2009 |
Jan
|
Feb
(12) |
Mar
(1) |
Apr
(14) |
May
(3) |
Jun
(26) |
Jul
(39) |
Aug
(6) |
Sep
(11) |
Oct
(26) |
Nov
(3) |
Dec
(1) |
| 2010 |
Jan
(1) |
Feb
|
Mar
(14) |
Apr
(34) |
May
(4) |
Jun
(3) |
Jul
(11) |
Aug
(11) |
Sep
(19) |
Oct
(19) |
Nov
(31) |
Dec
|
| 2011 |
Jan
(13) |
Feb
(19) |
Mar
|
Apr
(28) |
May
(7) |
Jun
(1) |
Jul
(24) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
| 2012 |
Jan
|
Feb
(6) |
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(13) |
| 2013 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
(10) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(22) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(4) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(13) |
Dec
(7) |
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
(1) |
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
|
From: klaas.holwerda <ng...@kl...> - 2024-09-14 22:02:28
|
Hi Shaul, Not sure I understand, do you want to stay the rectangle within another rectangle area? There is nothing implemented like that. But as you can study in the rectangle tool, you can do whatever you want there, same for the dragtool. Just copy the code of the tool in question, and restrict it in in the way you need, tuned to your application. Next as all other tools push it (your own version) on the tool controller stack, or whatever method you are using to start tools. It is of course some work, hope it answers your question. Regards, Klaas On 12/09/2024 11:22, Shaul Stavi wrote: > Is there a way to restrict the move of an a2dRect on dragging to a certain boundary? > Thank you, > Shaul |
|
From: Shaul S. <sha...@gm...> - 2024-09-12 14:22:27
|
Hello, I am using the a2dDrawRectangleTool. Is there a way to restrict the move of an a2dRect on dragging to a certain boundary? Thank you, Shaul |
|
From: Shaul S. <sha...@gm...> - 2024-05-09 17:36:58
|
Hi Klass, I tried the zoom example. I now understand why it was opposite because of the Yaxis. My colleague Trey was able to use the library on Mingw 64-bit. Thanks, Shaul |
|
From: klaas.holwerda <ng...@kl...> - 2024-05-03 14:36:22
|
-------- Forwarded Message --------
Subject: Re: [Wxart2d-users_dev] Image display is opposite
Date: Fri, 3 May 2024 10:45:50 -0300
From: klaas.holwerda <ik...@kl...>
To: wxa...@li...
Hi Shaul,
Are you using a a2dMemDcDrawer?
Can you run the zoom example?
The question is maybe more, what is right or wrong??
Clearly in part down here, I decided once, in the case of AggDrawer, that I wanted it to go along
with the Yaxis, so not always up.
I think my reasoning of doing it like this, is that when Yaxis changes, everything you see should be
upside down, including images.
Currently it seems when Yaxis is negative, the image is drawn as in wxWidgets itself, meaning Up.
void a2dAggDrawer::DrawImage( const wxImage& image, double x, double y, double width, double
height, wxUint8 Opacity )
{
if ( m_disableDrawing )
return;
int imagew = image.GetWidth();
int imageh = image.GetHeight();
agg::trans_affine mtxi;
mtxi *= agg::trans_affine_scaling( width / imagew, height / imageh );
mtxi *= agg::trans_affine_translation( x - width / 2, y - height / 2 );
// pictures always upwards
//if ( m_yaxis )
// mtxi *= agg::trans_affine_reflection_unit( 1, 0 );
But you are right, there were some heavy changes in the drawing context area, so it did change
somewhere.
Do not know what is best, or maybe it should even become an option.
What is your opinion?
Regards,
Klaas
On 02/05/2024 12:34, Shaul Stavi wrote:
> Hi,
>
> In the current version the Image display is opposite.
> in r963the image display was correct.
>
> a2dImage *Image;
> a2dCanvas* Canvas;
> Image->GetImage().LoadFile( _T("c:\\test.bmp") );
> Image->Mirror();//not needed in version r963
> Canvas->GetDrawing()->Append(Image);
>
>
>
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxa...@li...
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
|
|
From: Shaul S. <sha...@gm...> - 2024-05-02 15:34:45
|
Hi,
In the current version the Image display is opposite.
in r963the image display was correct.
a2dImage *Image;
a2dCanvas* Canvas;
Image->GetImage().LoadFile( _T("c:\\test.bmp") );
Image->Mirror();//not needed in version r963
Canvas->GetDrawing()->Append(Image);
|
|
From: Zoltan T. <zo...@gm...> - 2023-12-17 21:26:25
|
Dear wxart2D developers, I recently tried to build wxart2D on an ubuntu 22.04 and a m2 Mac (Sonoma) box and got the same error from cmake. I am using gtk3 toolkit on Ubuntu and osx-cocoa-unicode-3.2 (the output of wx-config —selected-config). However in both cases I get a cmake error connected to not finding the right wxwidgets libraries. The error is this: ************************************************************************************************************************************************** wxArt2D/packages/wxart2d/share/wxwidgets/FindwxWidgets.cmake(122): --debug=no;--static=yes;--unicode=yes;--universal=no;--toolkit=osx_cocoa-unicode;--version=3.2 failed. The default configuration found with: /usr/local/bin/wx-config --selected_config is the following: osx_cocoa-unicode-3.2 CMake Error at share/wxwidgets/FindwxWidgets.cmake:1377 (MESSAGE): wxWidgets required, please specify it's location. Call Stack (most recent call first): CMakeLists.txt:119 (find_package) ************************************************************************************************************************************************** The very same error message appears at the wxdocview module as well and also on ubuntu with gtk3-unicode. I played around with the FindwxWidgets.cmake script but no success. Is there a way to bypass this? Is it possible to use wxart2D with wxwidetgs 3.2.2? Is it possible to build it on an m2 Mac? Thanks! |
|
From: klaas.holwerda <ng...@kl...> - 2023-09-10 03:07:50
|
Hi, I am not the one using it, but I believe that using the free version of visual studio, you may only create freeware opensource, or something like that. At least commercial issues. So one license of VC will do, I think. I develop on VC since it is close to perfect in debugging, although I use Linux all the time. So via virtual box at home. Anyway, I use at home the free version, and one linux gcc. MIngw, is like the Unix/Linux setup, but even of it compiles on Ubuntu, that still might mean problems on mingw. I currently do not have the time, to dive into this. I suggest to first get it going on Ubuntu, or redhat, if you succeed with that, mingw is next. Hope it helps, Klaas On 08/09/2023 01:35, eicon . wrote: > Hi Klaas, > Could you please elaborate on the mingw license issues > Thanks and Best regards > > Noel > > Noel Diviney Ayrenet Pty Ltd, Unit 3,80-88 Rodeo Drive, Dandenong South, Victoria 3175, Australia. > Phone +61 413 120 892 email no...@ay... or di...@ho... > > ---------------------------------------------------------------------------------------------------- > *From:* klaas.holwerda <ng...@kl...> > *Sent:* Sunday, 3 September 2023 9:35 AM > *To:* wxa...@li... <wxa...@li...>; Trey > Tebbe <tre...@da...> > *Subject:* Re: [Wxart2d-users_dev] (no subject) > Did succeed once, but it is a long time ago, so maybe better use VC. > It is not impossible, but might need some work to get it going again. > Wonder why people use mingw, license issues?? > > Klaas > > On 01/09/2023 18:21, Trey Tebbe wrote: > > Hello, > > > > I was just wondering if it is possible to compile the wxart2d library using the mingw 64-bit > > compiler. I have been trying with no success and wanted to make sure it was actually possible. > > > > > > > > _______________________________________________ > > Wxart2d-users_dev mailing list > > Wxa...@li... > > > https://kor01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fwxart2d-users_dev&data=05%7C01%7C%7C4ca09151235945b250e708dbac0e5228%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638292949733415020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CNHB3gT3S17JA4Y2S4qhWosFyn5Lk5eJ4hP5IS7II1c%3D&reserved=0 > <https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev> > > > > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://kor01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fwxart2d-users_dev&data=05%7C01%7C%7C4ca09151235945b250e708dbac0e5228%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638292949733415020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CNHB3gT3S17JA4Y2S4qhWosFyn5Lk5eJ4hP5IS7II1c%3D&reserved=0 > <https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev> > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |
|
From: eicon . <di...@ho...> - 2023-09-08 00:08:23
|
Hi Klaas, Could you please elaborate on the mingw license issues Thanks and Best regards Noel Noel Diviney Ayrenet Pty Ltd, Unit 3,80-88 Rodeo Drive, Dandenong South, Victoria 3175, Australia. Phone +61 413 120 892 email no...@ay... or di...@ho... ________________________________ From: klaas.holwerda <ng...@kl...> Sent: Sunday, 3 September 2023 9:35 AM To: wxa...@li... <wxa...@li...>; Trey Tebbe <tre...@da...> Subject: Re: [Wxart2d-users_dev] (no subject) Did succeed once, but it is a long time ago, so maybe better use VC. It is not impossible, but might need some work to get it going again. Wonder why people use mingw, license issues?? Klaas On 01/09/2023 18:21, Trey Tebbe wrote: > Hello, > > I was just wondering if it is possible to compile the wxart2d library using the mingw 64-bit > compiler. I have been trying with no success and wanted to make sure it was actually possible. > > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://kor01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fwxart2d-users_dev&data=05%7C01%7C%7C4ca09151235945b250e708dbac0e5228%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638292949733415020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CNHB3gT3S17JA4Y2S4qhWosFyn5Lk5eJ4hP5IS7II1c%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev> _______________________________________________ Wxart2d-users_dev mailing list Wxa...@li... https://kor01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fwxart2d-users_dev&data=05%7C01%7C%7C4ca09151235945b250e708dbac0e5228%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638292949733415020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CNHB3gT3S17JA4Y2S4qhWosFyn5Lk5eJ4hP5IS7II1c%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev> |
|
From: Trey T. <tre...@da...> - 2023-09-06 16:00:16
|
I have attached a build output file showing the errors. On 9/5/2023 3:24 PM, Trey Tebbe wrote: > Yes license, and there's already been a lot of work done using gcc. > Everything seems to be compiling okay until i get to wxdockview. It > seems to be having problems with the a2dHashMap. It is getting > conflicting declaration and incomplete type errors for almost > everything to do with it. If you have any suggestions they would be > greatly appreciated. > > On 9/2/2023 7:35 PM, klaas.holwerda wrote: >> Did succeed once, but it is a long time ago, so maybe better use VC. >> It is not impossible, but might need some work to get it going again. >> Wonder why people use mingw, license issues?? >> >> Klaas >> >> On 01/09/2023 18:21, Trey Tebbe wrote: >>> Hello, >>> >>> I was just wondering if it is possible to compile the wxart2d >>> library using the mingw 64-bit compiler. I have been trying with no >>> success and wanted to make sure it was actually possible. >>> >>> >>> >>> _______________________________________________ >>> Wxart2d-users_dev mailing list >>> Wxa...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev >> >> >> |
|
From: Trey T. <tre...@da...> - 2023-09-05 19:24:19
|
Yes license, and there's already been a lot of work done using gcc. Everything seems to be compiling okay until i get to wxdockview. It seems to be having problems with the a2dHashMap. It is getting conflicting declaration and incomplete type errors for almost everything to do with it. If you have any suggestions they would be greatly appreciated. On 9/2/2023 7:35 PM, klaas.holwerda wrote: > Did succeed once, but it is a long time ago, so maybe better use VC. > It is not impossible, but might need some work to get it going again. > Wonder why people use mingw, license issues?? > > Klaas > > On 01/09/2023 18:21, Trey Tebbe wrote: >> Hello, >> >> I was just wondering if it is possible to compile the wxart2d library >> using the mingw 64-bit compiler. I have been trying with no success >> and wanted to make sure it was actually possible. >> >> >> >> _______________________________________________ >> Wxart2d-users_dev mailing list >> Wxa...@li... >> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > > > -- Trey Tebbe Dajac Inc. www.Dajac.com 317-608-0500 ext. 224 tre...@da... |
|
From: klaas.holwerda <ng...@kl...> - 2023-09-02 23:42:46
|
Did succeed once, but it is a long time ago, so maybe better use VC. It is not impossible, but might need some work to get it going again. Wonder why people use mingw, license issues?? Klaas On 01/09/2023 18:21, Trey Tebbe wrote: > Hello, > > I was just wondering if it is possible to compile the wxart2d library using the mingw 64-bit > compiler. I have been trying with no success and wanted to make sure it was actually possible. > > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |
|
From: Trey T. <tre...@da...> - 2023-09-01 16:48:35
|
Hello, I was just wondering if it is possible to compile the wxart2d library using the mingw 64-bit compiler. I have been trying with no success and wanted to make sure it was actually possible. |
|
From: Shaul S. <sha...@gm...> - 2023-08-25 16:57:58
|
Hi,
a fix is needed in ~a2dMemDcDrawer
in order the m_hdc1, m_hdc2 to be released , i remarked the old code.
a2dMemDcDrawer::~a2dMemDcDrawer()
{
#if defined(__WXMSW__)
// ::DeleteDC( m_hdc1 );
// ::ReleaseDC( NULL, m_hdc2 );
::ReleaseDC(NULL, m_hdc1);
::DeleteDC(m_hdc2);
#endif // defined( __WXMSW__ )
}
|
|
From: Shaul S. <sha...@gm...> - 2023-06-22 20:11:46
|
Hi, i am using a2dRect *Rect = NULL; Rect = wxDynamicCast(m_CanvasObject, a2dRect); Rect->SetRotation(45); after rotation (Rect->GetPosX(),Rect->GetPosY(),Rect->GetWidth(),Height = Rect->GetHeight()) are not change. is there a way to have the after rotation x,y,width,height? Thank you, Shaul |
|
From: Shaul S. <sha...@gm...> - 2023-05-19 14:07:59
|
Hi, it happens when a on polygon is selected if the polygon two will select by double click, the polygon two will select but with shifting from the original position Thank you, Shaul |
|
From: Paris R. <rp...@es...> - 2022-07-30 13:22:13
|
Dear all, I'm interested in your library wxArt2D I had a brief look to its website and source code ... I'd like to use the library in a project of mine written using wxWidgets v3.2.0 Would you be so kind to reply this message answering the questions below ? It would be very useful for me, thank you in advance. 1) Is the library maintained ? 2) Could I use Inkskape as editor for SVG file and then load such files into my application to show it on a wxWindow ? 3) Is there a way to change dynamically a colour or other stuff, from original InkSkape objects, using wxArt2D features ? Thank you for your help kind regards Rossano Paris |
|
From: klaas.holwerda <ng...@kl...> - 2020-09-25 09:48:51
|
Hi, I put your code in the simple sample in wxart2d, compiled it, and drag shapes using Ctrl + Left Mouse Down. Seems fine to me what I see. So for the moment I can't reproduce what you see. This one line is not needed, but that is wxWidgets basics ( it Destroys its child windows starting at top window, so it has a tree to find them, this line ruins it ): delete m_frame; Regards, Klaas On 25/09/2020 09:46, Mao Baoqi wrote: > Hi, > The attachment is my demo codes. |
|
From: MAOBAOQI <mb...@ou...> - 2020-09-25 02:38:11
|
Hi,klass Using wxart2d in my little display program, now the program can run basically, thanks for your help. Just now, I found a question again and don't know how to set to avoid this problem. The frame contains a2dCanvas and displaying figure is good, zoom in and zoom out also is well. But when dragging with mouse right button down, some big figure shape will appear rupture(Sorry I don't know how to describe it) which like this below. Small figure shape will not appear this. |
|
From: klaas.holwerda <ng...@kl...> - 2020-09-23 09:03:34
|
Hi, That is like this: m_canvas->SetShowOrigin( false ); Regards, Klaas On 22/09/2020 10:12, MAOBAOQI wrote: > > Hi, klass > > Run wxart2d sample single2 and zoom, there will apear a tiny black cross label on canvas. > > How to disable this black cross? I can't find any settings. > > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |
|
From: MAOBAOQI <mb...@ou...> - 2020-09-22 08:12:52
|
Hi, klass Run wxart2d sample single2 and zoom, there will apear a tiny black cross label on canvas. How to disable this black cross? I can't find any settings. |
|
From: MAOBAOQI <mb...@ou...> - 2020-09-16 00:42:54
|
Hi, klass Thanks for your reply. Add below code snippet and it works, the text appears with using a2dAggDrawer. Do not add the below code snippet and replace a2dAggDrawer with a2dMemDcDrawer, text string also can appear. Awesome! 在 2020/9/16 5:36, klaas.holwerda 写道: > Hi, > > If you add this to the sample (tutoagg.cpp), I think you know where. > Do you see the text of it ? I do. > That means the freetype fonts is rendered correctly. The wxFont can > not be rendered by a2dAggDrawer directly, therefore it tries to find > an equivalent ttf font to be used instead, but somehow it does not > find that. > So when using a2dAggDrawer it is best to use ttf fonts directly, Still > I will trye to find why the problem is there with wxFont . > > a2dFont lorem2( a2dGlobals->GetFontPathList().FindValidPath( wxT( > "/LiberationSans-Regular.ttf" ) ), 93.0 ); > a2dText* text3 = new a2dText( "And how about this", -30, -70, > lorem2 ); > text3->SetFill( wxColour( 0, 30, 200, 100 ) ); > text3->SetBackGround(); > text3->SetStroke( wxColour( 0, 15, 12, 100 ) ); > root->Append( text3 ); > > Regards, > > Klaas > > On 15/09/2020 07:55, MAOBAOQI wrote: >> >> Hi, klaas >> >> I am sorry to disturb you. >> >> Last few days, I compile wxArt2D project many times and want to use it >> >> in my little program project.But I couldn't pass the problem about font >> >> display. >> >> Sample tuto(tutoagg.cpp totuagg.h) under aggdrawer is the tutorial >> which I want to build.Building >> >> is well. However, Text and font not display when running this sample. >> >> I tried to debug and trace the program where occur last night and >> found that: >> >> Use a2dFONT_wxDC flags, running sample will display every text >> character as "X", if use a2dFONT_STROKED like below, the sample >> program will be freeze and crash. >> >> a2dText* tt = new a2dText( wxT( "Hello from wxWorld" ), -50, -70, >> a2dFont(wxFont(30, wxFONTFAMILY_DECORATIVE, wxFONTSTYLE_NORMAL, >> wxFONTWEIGHT_NORMAL), 30, a2dFONT_STROKED)); >> tt->SetFill( wxColour( 0, 10, 200 ) ); >> tt->SetStroke( wxColour( 0, 155, 120, 100 ) ); >> root->Append( tt ); >> >> I don't know where is going wrong.Sorry to disturb you and looking >> forward your reply. >> > |
|
From: MAOBAOQI <mb...@ou...> - 2020-09-15 04:21:00
|
Hi, Compile wxArt2D sample directdrawagg on Windows10. The sample can run but can not display text. like this:XXX XXX XXXX cmake configure: |
|
From: MAOBAOQI <mb...@ou...> - 2020-09-12 05:00:45
|
Hi, everyone
I tested wxArt2D library in last few days.
I added some codes into wxArt2D and want to draw text content on
wxScrollWindow
panel, but failed.There is appear "XXXX" on text location.
Codes:
wxFont temp = wxFontInfo(100).Family(wxFONTFAMILY_DEFAULT);
//m_drawer2d->DrawCharFreetypeCb(wxChar('A'));
m_drawer2d->SetFont(a2dFont(temp, 100));
m_drawer2d->SetDrawerStroke(*a2dTRANSPARENT_STROKE);
m_drawer2d->DrawText(wxString("..."), 200, 200);
|
|
From: 刘加权 jiaquan.l. <he...@gm...> - 2019-03-22 01:24:30
|
thank you very much On Fri, Mar 22, 2019 at 5:38 AM klaas.holwerda <ng...@kl...> wrote: > Not FAQ, but website is at wxart2d.org > > On 21/03/2019 05:47, 刘加权 jiaquan.liu wrote: > > such as FAQ websit? > > > _______________________________________________ > Wxart2d-users_dev mailing lis...@li...://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > |
|
From: klaas.holwerda <ng...@kl...> - 2019-03-21 21:38:12
|
Not FAQ, but website is at wxart2d.org On 21/03/2019 05:47, 刘加权 jiaquan.liu wrote: > such as FAQ websit? > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |