March 28, 2024, 07:02:56 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


What are they?

Started by LarryMc, July 30, 2007, 04:44:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

Are these METHODS or class MEMBERS?

declare *VLine(int y1,int y2,int x,unsigned int clr);
declare *HLine(int x1,int x2,int y,unsigned int clr);
declare *GetPixel(int x,int y),unsigned int;
declare *PutAlphaPixel(int x,int y,unsigned int clr,int alpha);
declare *PutPixel(int x,int y,unsigned int clr);
declare *PutPixelFast(int x,int y,unsigned int clr);


Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

They are function (method) pointers.  So in essance they are both.

If you have the source code see C2DSurface::FunctionMapper()  for how they are set based on the BPP of the screen.

Paul.
Ionic Wind Support Team

LarryMc

Just wondering how to properly document them.

Should they appear like class members only on the class overview page or

Should they have a page pf their own like methods?

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

Looks to me like they should have a page of their own the way methods do.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

Yes they are methods, used through pointers
Ionic Wind Support Team