Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Vertical Waveform View
Avatar
Member
Members
March 17, 2018 - 4:27 pm
Member Since: November 17, 2015
Forum Posts: 48
sp_UserOfflineSmall Offline

Hey Guys,

Long time no see, still learning, and getting deeper into the framework!

I am finally at the point of comprehension of the waveform view although limited. ūüôā

 

After playing around with the customviewfour module, I am having difficulty creating a Waveform view that writes from bottom to top rather than left and right.

 

I believe the limitation might be the in draw function, there is only a ->setlineWidth() and no draw setlineHeight.

 

If anyone has any ideas, that would be awesome. Cool

Avatar
Member
Members
April 30, 2018 - 9:50 pm
Member Since: July 11, 2017
Forum Posts: 18
sp_UserOfflineSmall Offline

the draw function uses 2 cpoints p1 and p2 . Each point has both an x and y value.

Then the draw function just draws a line between these points.

 

so if you change the points you can draw however you like up down left right etc you will however have to re write the draw function. Take a look at the code in draw its not that complicated. 

Ive been playing around with the draw functions lately and made a basic Oscillator Scope using drawpoint and draw line.

 

Hope this helps!

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

Nickolai: 39

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 738

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 815

Posts: 3146

Moderators: W Pirkle: 656