Friday, November 17th 2017, 6:24pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

iens

Beginner

Date of registration: Mar 27th 2016

Posts: 13

1

Saturday, April 16th 2016, 8:59am

[SOLVED]Pen size don't work

Hello, when I use GUI_SetPenSize() to change line width, it' s don't change.
I use stm32f7 and st 's driver.
Thanks.

This post has been edited 1 times, last edit by "iens" (Apr 23rd 2016, 11:10am)


vijitron

Beginner

Date of registration: Apr 4th 2016

Posts: 6

Occupation: Firmware developer

2

Saturday, April 16th 2016, 10:14am

Hi
I am also using same hardware. For me too not working.

iens

Beginner

Date of registration: Mar 27th 2016

Posts: 13

3

Saturday, April 16th 2016, 4:06pm

It must have a problem with driver, I think with with dma2d functions.
I have also a problem with gradient, function draw small bar with different colors.

Andy_AN2

Beginner

Date of registration: Nov 7th 2013

Posts: 13

4

Tuesday, April 19th 2016, 3:14pm

Hello Jens,

I had the same problem!

If you draw with GUI_DrawLine() it works, but if you use GUI_DrawVLine() or GUI_DrawHLine() it doesn´t work due to some very strange reason ?(

Hope that helps

Andy

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 410

5

Friday, April 22nd 2016, 4:45pm

Hi,

as stated in the emWin user manual (UM03001_emWin5.pdf chapter 8 '2-D Graphic Library' at the description of SetPensize()) SetPensize does not affect all drawing routines.

These are the routines which are affected:
• GUI_DrawPoint()
• GUI_DrawLine()
• GUI_DrawLineRel()
• GUI_DrawLineTo()
• GUI_DrawPolyLine()
• GUI_DrawPolygon()
• GUI_DrawEllipse()
• GUI_DrawArc()

Regards,
Sven

iens

Beginner

Date of registration: Mar 27th 2016

Posts: 13

6

Saturday, April 23rd 2016, 9:24am

My bad, I have not read to the end. Thanks.